GitHub user intelradoux opened a pull request:
https://github.com/apache/qpid-jms/pull/3
Add default policy and imeout to override the "hard coded" value
consumerBuilder
I got an issue with a broker that do not support "NEVER" as expiration
policy. (if timeout is set as 0 it will means that consumer is a "temporary
consumer" no matter what).
If I try to set a timeout >0 and a expiration policy to NEVER, it crash.
I created this hack to fix that. I can add 2 more parameters :
Example:
amqp://localhost:5672?amqp.defaultTimeout=2000000&amqp.defaultExpiryPolicy=link-detach
make this connection a almost a durable connection.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/intelradoux/qpid-jms master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-jms/pull/3.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3
----
commit 80d1e13b3758b1f76d282b0a296d9c2fe8f4aa05
Author: intelradoux <[email protected]>
Date: 2016-07-25T06:58:08Z
Add default policy and default timeout to override the "hard coded"
value on consumerBuilder.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]