[ 
https://issues.apache.org/activemq/browse/CAMEL-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57485#action_57485
 ] 

Willem Jiang commented on CAMEL-2456:
-------------------------------------

Hi Claus,

I checked the code of  JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint 
and they are singleton endpoint,
and we hit the JMX exception as current Camel only register the singleton 
endpoint into JMX agent to avoid the situation that you described.

It could be easy to let camel skip these endpoint by checking the 
ManagedResource annotation, but I still want to know if the singleton endpoint 
still have the potential JMX issue that you mentioned.


> JmsTemporaryTopicEndpoint , JmsTemporaryQueueEndpoint don't have the 
> ManagedResource annotation
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2456
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2456
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.1.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.3.0
>
>
> Here is the mail thread which discusses about this issue.
> http://old.nabble.com/Attemp-to-send-message-to-activemq-temporary-queue-using-producerTemplate%3A-InvalidMetadataException-tp27520096p27520096.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to