You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2012/11/14 15:28:12 UTC

[jira] [Commented] (AMQ-4176) Producer Advisory messages not send when MessageProducer was created from PooledConnectionFactory

    [ https://issues.apache.org/jira/browse/AMQ-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497125#comment-13497125 ] 

Timothy Bish commented on AMQ-4176:
-----------------------------------

This is by design.  The MessageProducer created in the pool case is anonymous and is used as the producer for all send requests so there is no associated destination for that producer which the broker and use to create an advisory. 
                
> Producer Advisory messages not send when MessageProducer was created from PooledConnectionFactory
> -------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4176
>                 URL: https://issues.apache.org/jira/browse/AMQ-4176
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: activemq-pool
>    Affects Versions: 5.6.0, 5.7.0
>         Environment: Ubuntu 11.10, Oracle JDK 1.6.0_31
>            Reporter: Arnoud Glimmerveen
>         Attachments: AdvisoryTest.java
>
>
> If a MessageProducer is created from a PooledConnectionFactory it does not result in Producer Advisory messages being send. 
> When a plain ActiveMQConnectionFactory is used to create the MessageProducer, these Producer Advisory messages do get send.
> The Consumer Advisory messages are send as expected, when using both the plain ActiveMQConnectionFactory and the PooledConnectionFactory to create the MessageConsumer.

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