[
https://issues.apache.org/jira/browse/CAMEL-17540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17480686#comment-17480686
]
Ashutosh Vaish commented on CAMEL-17540:
----------------------------------------
[~davsclaus] I have sent my question to
[[email protected]|mailto:[email protected].]
However my concern is with the actual code of QueueReplyManager.
[createListenerContainer|https://javadoc.io/static/org.apache.camel/camel-jms/2.11.4/org/apache/camel/component/jms/reply/QueueReplyManager.html#createListenerContainer()]
method has used DefaultMessageListenerContainer(DMLC). So even if I used
consumerType camel JMS option it will default to DMLC which is a polling based
consumer. I cannot find any other Camel JMS option which allows to switch over
to SimpleMessageListenerContainer for request-reply hence I created an issue.
> CamelJms Request Reply QueueReplyManager is coupled with
> DefaultMessageListenerContainer
> ----------------------------------------------------------------------------------------
>
> Key: CAMEL-17540
> URL: https://issues.apache.org/jira/browse/CAMEL-17540
> Project: Camel
> Issue Type: Improvement
> Components: camel-jms
> Affects Versions: 3.x
> Reporter: Ashutosh Vaish
> Priority: Minor
>
> We are using CamelJMS to connect with IBM MQ. We are doing request-reply over
> JMS. It was identified that our camel app is continuously polling the reply
> queues even when a unit of work was completed. I found that QueueReplyManager
> is coupled with DefaultMessageListenerContainer.
> CamelJMS allows consumerType for JMS consumer to be Simple/Default/Custom.
> Why was it decided to use DefaultMessageListenerContainer for
> QueueReplyManager? Can we give a consumerType choice for this pattern too ?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)