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:54:34 UTC
[jira] [Created] (QPID-4154) Creating durable topic does create
transient topic exchange
Pavel Moravec created QPID-4154:
-----------------------------------
Summary: 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
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
[jira] [Updated] (QPID-4154) Creating durable topic does create
transient topic exchange
Posted by "Rob Godfrey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Godfrey updated QPID-4154:
------------------------------
Labels: addressing (was: patch)
> 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: addressing
> 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
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
[jira] [Closed] (QPID-4154) Creating durable topic does create
transient topic exchange
Posted by "Rajith Attapattu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajith Attapattu closed QPID-4154.
----------------------------------
Resolution: Duplicate
Fix Version/s: 0.19
I have opened another JIRA (QPID-4340) by mistake.
The fix is committed under QPID-4340.
> 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: addressing
> Fix For: 0.19
>
> 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
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
[jira] [Updated] (QPID-4154) Creating durable topic does create
transient topic exchange
Posted by "Pavel Moravec (JIRA)" <ji...@apache.org>.
[ 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