[
https://issues.apache.org/jira/browse/QPIDJMS-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16797379#comment-16797379
]
ASF GitHub Bot commented on QPIDJMS-447:
----------------------------------------
motmot80 commented on pull request #28: QPIDJMS-447 MessageProducer support for
target.durable
URL: https://github.com/apache/qpid-jms/pull/28
If it does not fulfil quality requirements it maybe will help to understand
the issue.
Best regards
Thomas
----------------------------------------------------------------
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:
[email protected]
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]