Hi,

You'll need to adjust your broker url. Adding advisorySupport="false" is
not enough to completely disable advisory messages. You'll need to change
the broker url in your ConnectionFactory to: tcp://localhost:61616
?jms.watchTopicAdvisories=false

Regards,
Richard
http://richardlog.com


On Sat, Mar 22, 2014 at 1:12 PM, json <jheysonsanc...@gmail.com> wrote:

> Hi.
> Sorry. i need help please
>
> I am using ActiveMQ and Spring JMS template.
> follow your steps, but do not work my setting.
> show it my conf.
> <amq:broker id="broker" useJmx="false" persistent="false"<br>
>                 advisorySupport="false"><br>
>                 <amq:transportConnectors><br>
>                         <amq:transportConnector uri="tcp://localhost:0"
> /><br>
>                 </amq:transportConnectors><br>
>         </amq:broker><br>
>
>         <amq:queue id="destination" physicalName="myQueue" /><br>
>
>         <amq:topic id="destination1" physicalName="myTopic" /><br>
>
>         <br>
>         <amq:connectionFactory id="jmsFactory"
> brokerURL="tcp://localhost:61616"
> /><br>
>
>         <bean id="jmsTemplateTarea"
> class="org.springframework.jms.core.JmsTemplate"><br>
>                 <property name="connectionFactory"><br>
>                         <br>
>                         <bean
> class="org.springframework.jms.connection.SingleConnectionFactory"><br>
>                                 <property
> name="targetConnectionFactory"><br>
>                                         <ref bean="jmsFactory" /><br>
>                                 </property><br>
>                         </bean><br>
>                 </property><br>
>                 <property name="defaultDestination" ref="destination1"
> /><br>
>         </bean><br>
>
> this is setting not disable message Advisory default  from ActiveMQ <br>
> * ActiveMQ.Advisory.Connection<br>
> * ActiveMQ.Advisory.Consumer.*<br>
> * ActiveMQ.Advisory.Producer.*<br>
> *ActiveMQ.Advisory.<br>
>
> However this send message without problem but no disable message Advisory
> with the opcion<br>
> *<amq:broker id="broker" useJmx="false" persistent="false"<br>
>                 advisorySupport="false"><br>
>                 <amq:transportConnectors><br>
>                         <amq:transportConnector uri="tcp://localhost:0"
> /><br>
>                 </amq:transportConnectors><br>
>         </amq:broker><br>*
> could you please provide me maybe other solution
>
>
>
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Disable-advisory-for-ActiveMQ-broker-tp4677863p4679447.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to