[
https://issues.apache.org/jira/browse/CAMEL-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465459#comment-13465459
]
Claus Ibsen commented on CAMEL-4257:
------------------------------------
Yes the header can contain a String / Int etc. And Camel will adapt to that.
However I think the Dimitri want to be able to configure a default value on the
JmsComponent, so its applied out of the box.
Patches is welcome. Its to add a setter/getter (int type) on JmsComponent /
JmsConfiguration / JmsEndpoint. And add logic to set the default value on the
JmsTemplate that is being created.
eg just track what "deliveryPersistent" does and see where to apply similar
code.
> Expose setDeliveryMode property in org.apache.camel.component.jms.JmsComponent
> ------------------------------------------------------------------------------
>
> Key: CAMEL-4257
> URL: https://issues.apache.org/jira/browse/CAMEL-4257
> Project: Camel
> Issue Type: Improvement
> Components: camel-jms
> Affects Versions: 2.7.2
> Reporter: Dmitri Maximovich
> Priority: Minor
> Fix For: Future
>
>
> It would be beneficial if org.apache.camel.component.jms.JmsComponent would
> allow to specify JMS deliveryMode explicitly.
> Currently, from what I can tell, there is only boolean deliveryPersistent
> property which is not enough if JMS provider supports additional non-standard
> delivery modes. Example is Tibco EMS RELIABLE_DELIVERY mode.
--
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