Skip to content

Conversation

atipijasin
Copy link

@atipijasin atipijasin commented Sep 22, 2025

Specify that @Payload is needed when multiple parameter methods are annotated with @AsyncPublisher

Specify that @payload is needed when multiple parameter methods are annotated with @AsyncPublisher
Copy link

netlify bot commented Sep 22, 2025

Deploy Preview for springwolf ready!

Name Link
🔨 Latest commit 043d51b
🔍 Latest deploy log https://app.netlify.com/projects/springwolf/deploys/68d1248aa55595000805da46
😎 Deploy Preview https://deploy-preview-111--springwolf.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@timonback
Copy link
Member

Hi @atipijasin ,
Thank you for this recommendation.

We have a notice about @Payload at https://www.springwolf.dev/docs/configuration/documenting-messages#payload-type.

Also, when no @Payload is used, Springwolf logs an error like "Payload cannot be detected. Multi-parameter method must have one parameter annotated with @payload, but none was found"

Do you wish to still have a reminder on the producer page? If so, can you update the PR to link to the documenting-messages page to avoid duplication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants