Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate required fields and fail gracefully if they're not present #152

Open
derek63 opened this issue Jan 19, 2016 · 1 comment
Open

Comments

@derek63
Copy link
Member

derek63 commented Jan 19, 2016

Instead of waiting for NullPointerExceptions to occur, like when you don't specify a payload.

@alechenninger
Copy link
Contributor

I think we should actually just not require a payload for the case where we are sending a message to EMA precisely because it does not have a payload. It may still have headers which can be used to track its origin, therefore it's still useful to have messages that have no payloads.

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

No branches or pull requests

2 participants