You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/23 04:07:00 UTC

[jira] [Commented] (QPIDJMS-447) Make Source.setDurable available

    [ https://issues.apache.org/jira/browse/QPIDJMS-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17306744#comment-17306744 ] 

ASF GitHub Bot commented on QPIDJMS-447:
----------------------------------------

clambertus closed pull request #28:
URL: https://github.com/apache/qpid-jms/pull/28


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Make Source.setDurable available 
> ---------------------------------
>
>                 Key: QPIDJMS-447
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-447
>             Project: Qpid JMS
>          Issue Type: Improvement
>          Components: qpid-jms-client
>    Affects Versions: 0.39.0, 0.40.0
>         Environment: Broker: RabbitMQ 3.7.5 with amqpv1 plugin
> Client: QPID-JMS 0.39, 0.40
>  
>            Reporter: Thomas Stollenwerk
>            Priority: Major
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> Right now it is not possible to set the "durable" field of an amqp "target" by QPID-JMS
> [http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#type-terminus-durability]
> We are using RabbitMQ 3.7.5 with it's amqp v1.0 plugin. Without this option it's not possible to produce messages to a durable queue using QPID-JMS. 
> Attaching to a durable queue results in:
> {{
> {'v1_0.error',\\{symbol,<<"amqp:precondition-failed">>}
> ,{utf8,<<"PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'HOST' in vhost '/': {color:#ff0000}received 'false' but current is 'true'{color}">>},undefined}}}
> {{Using qpid or amqpnetlite with durable = *TerminusDurability.CONFIGURATION* (1) works fine.}}
>  
> *AmqpProducerBuilder.createEndpoint* should set the *Source.setDurable* option like 
> *AmqpConsumerBuilder.configureSource* does. Maybe by adding *setDurable* to 
> *JmsDestination* passed to *JmsProducerInfo*.
>  
> Setting it to "false" by default should not break any existing implementations.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org