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

Use counter value as payload body #207

Merged
merged 1 commit into from
Aug 15, 2017
Merged

Use counter value as payload body #207

merged 1 commit into from
Aug 15, 2017

Conversation

junglie85
Copy link

Current example throws an exception after the first two responses due to the value returned from incrementAndGet exceeding the enum value range for PayloadType. I've updated the example to set the payload type as COMPRESSABLE and the payload body as the int value from incrementAndGet. It also serves as a simple example of how to convert to and from a ByteString.

Hope it's useful.

@pmlopes pmlopes merged commit 3855b08 into vert-x3:master Aug 15, 2017
@pmlopes pmlopes removed the to review label Aug 15, 2017
@pmlopes
Copy link
Member

pmlopes commented Aug 15, 2017

Thanks!

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

Successfully merging this pull request may close these issues.

4 participants