JBoss Community

Re: Only one subscriber sees a topic message in a clustered topic setup

created by Bob Muller in JBoss Messaging - View the full discussion

I'm not sure, looking through the docs, how to specify this. Here's the example from the examples directory:

 

<mbean code="org.jboss.jms.server.destination.TopicService" name="jboss.messaging.destination:service=Topic,name=testDistributedTopic" xmbean-dd="xmdesc/Topic-xmbean.xml">
    <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
    <depends>jboss.messaging:service=PostOffice</depends>
    <attribute name="Clustered">true</attribute>
</mbean>

 

This specifies an <attribute> element, which is what I have in my topic destination. I see I did not put the correct topic in the original post, I'll correct that. Here's the actual one I have on both nodes, note the "Clustered" attribute.

 

 

   <mbean
      code="org.jboss.jms.server.destination.TopicService"
      name="jboss.messaging.destination:service=Topic,name=PoesysCacheDelete"
      xmbean-dd="xmdesc/Topic-xmbean.xml">
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
      <attribute name="Clustered">true</attribute>
   </mbean>

 

If this syntax isn't correct, where do you put the attribute? Or is it an element, as you have specified it? I don't see that in the docs at all.

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community