This document is meant to help you migrate your application to Solace PubSub+ Binder 5.0.
Important
|
|
Update the binder dependencies, if you are not using any of the impacted features documented below your application should work as it is.
If your application was using below Consumer Binding features in the previous version, you must read further.
-
Anonymous consumer groups
Table below tries to summarize what has changed.
ACK Status | Before | Now | What has changed? |
---|---|---|---|
|
Acknowledge the message. |
Acknowledge the message. |
No Change. |
|
If Otherwise, if the consumer is in a defined consumer group, invoke Otherwise, the consumer is in an anonymous group, and the message will be discarded. |
If Otherwise, for both, the consumer in a defined consumer group or in an anonymous group, signal the Solace broker to discard/remove the message from queue. Refer to Failed Consumer Message Error Handling for more info. |
Earlier, if Now, for both the consumer in defined or anonymous consumer group, the message will be rejected/discarded. If your application want requeue behaviour, explicitly call |
|
If the consumer is in a defined consumer group, rebind the consumer flow. Otherwise, a |
For both the consumer in defined or anonymous consumer group, requeue the message. Refer to Message Redelivery for more info. |
Now, both defined and anonymous consumer group supports If your application was using anonymous consumer group, you should note the change in behaviour, and you may like to review your application in this context. |
The Solace consumer rebind related configuration properties flowPreRebindWaitTimeout
, flowRebindBackOffInitialInterval
, flowRebindBackOffMaxInterval
, flowRebindBackOffMultiplier
has been removed as consumer rebind mechanism is no longer used. Presence of these properties would not make a difference and ideally should be removed from application configuration. Refer Solace Consumer configuration properties.