[ 
https://issues.apache.org/activemq/browse/SM-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48693#action_48693
 ] 

Freeman Fang commented on SM-1764:
----------------------------------

Hi Guillaume,

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" when use temp queue/topic but 
not use the PooledConnectionFactory.
So when we don't specify the replyDest, which means the temp queue/topic will 
be create as replyDest, in this case we need use PooledConnectionFactory.
But in case we already specify the replyDest, then the PooledConnectionFactory 
isn't madatory, only the performance is affected in this case.

Regards
Freeman


> JmsProviderEndpointTest hang
> ----------------------------
>
>                 Key: SM-1764
>                 URL: https://issues.apache.org/activemq/browse/SM-1764
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-jms
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: servicemix-jms-2008.02, 3.3.1
>
>


-- 
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