You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Pavel Moravec (JIRA)" <ji...@apache.org> on 2012/07/19 15:56:33 UTC
[jira] [Updated] (QPID-4154) Creating durable topic does create
transient topic exchange
[ https://issues.apache.org/jira/browse/QPID-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Moravec updated QPID-4154:
--------------------------------
Attachment: bz824917.patch
Simple patch that adds dest.getTargetNode().isDurable() to the sendExchangeDeclare method such that exchangeDeclare method options has optionally Option.DURABLE set.
> Creating durable topic does create transient topic exchange
> -----------------------------------------------------------
>
> Key: QPID-4154
> URL: https://issues.apache.org/jira/browse/QPID-4154
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.14
> Reporter: Pavel Moravec
> Priority: Trivial
> Labels: patch
> Attachments: bz824917.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Using address string to create an exchange, durable:true flag is ignored. So only transient exchange is created.
> reproducer:
> export CLASSPATH=/usr/local/src/junit4.9b2/junit-4.9b2.jar:$(find "/usr/share/java/" -name '*.jar' | tr '\n' ":")
> cd /usr/share/doc/qpid-java-0.14/examples
> ./run_example.sh org.apache.qpid.example.Spout --content="msg1" "MyExchange; {create:always, node:{type:topic, durable:true}}"
> qpid-config exchanges then shows MyExchange as non-durable.
> Patch is attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org