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

proxyHandler.setConsumer(consumer) in 3.5 #60

Closed
Sergey80 opened this issue Oct 25, 2017 · 2 comments
Closed

proxyHandler.setConsumer(consumer) in 3.5 #60

Sergey80 opened this issue Oct 25, 2017 · 2 comments

Comments

@Sergey80
Copy link

I used to have:
MessageConsumer consumer = getVertx().eventBus().consumer(eventBusAddress.value()).handler(proxyHandler);
proxyHandler.setConsumer(consumer);

when switched to 3.5 there is no setConsumer(), that is the recommendation about it?

Thanks.

@vietj
Copy link
Contributor

vietj commented Oct 25, 2017

I think now you need to use the register method that does everything in one go:

proxyHandler.register(getVertx().eventBus(), eventBusAddress.value());

later on you call proxyHandler.unregister()

@vietj vietj added the invalid label Oct 25, 2017
@Sergey80
Copy link
Author

ok. thanks.

@vietj vietj removed the invalid label Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants