[
https://issues.apache.org/activemq/browse/SM-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47163#action_47163
]
Freeman Fang commented on SM-1621:
----------------------------------
after digging the code, I found that the spring JmsTemplate always create a
connection and then close it, so the connection from which we create temporary
queue/topic will lost, but according to JMS, the temporary queue/topic should
only used for the connection which create the temporary queue/topic, that's why
we see the exception "Cannot use a Temporary destination from another
Connection"
One workaround now is customer needn't specify the replyDestination, in this
case our code will create a queue/topic with name whatever like "anonymous" as
the replyDestination, but it's not real temporay queue/topic :-(
> New JMS in/out provider should support temporary queues/topics (as reply
> destinations)
> --------------------------------------------------------------------------------------
>
> Key: SM-1621
> URL: https://issues.apache.org/activemq/browse/SM-1621
> Project: ServiceMix
> Issue Type: Improvement
> Affects Versions: 3.2.2
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: 3.2.3, servicemix-jms-2008.02
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.