1 Reply Latest reply on Sep 27, 2009 11:36 PM by gaohoward

    How to set up topic subscriber and publisher?

    rpezz

      How would a topic subscriber be set up in Hypersonic tables JBM_User and JBM_Role? I'm not sure what the JBM_USER.CLIENTID field is used for.
      Same for setting up a publisher.

      I have a topic set up like this:

      <mbean code="org.jboss.jms.server.destination.TopicService"
       name="jboss.messaging.destination:service=Topic,name=testTopic"
       xmbean-dd="xmdesc/Topic-xmbean.xml">
       <depends optional-attribute-name="ServerPeer">
       jboss.messaging:service=ServerPeer
       </depends>
       <depends>jboss.messaging:service=PostOffice</depends>
       <attribute name="SecurityConfig">
       <security>
       <role name="subscriber" read="true" write="true" create="true" />
       <role name="publisher" read="true" write="true" create="true" />
       </security>
       </attribute>
       </mbean>