... and this is how to deploy a topic:

Create a mytopic-service.xml file with the following content


  | <server>
  |    <loader-repository>jboss.messaging:loader=ScopedLoaderRepository
  |       
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
  |    </loader-repository>
  |    <mbean code="org.jboss.jms.server.destination.Topic"
  |           name="jboss.messaging.destination:service=Topic,name=myTopic"
  |           xmbean-dd="xmdesc/Topic-xmbean.xml">
  |           <depends 
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
  |     </mbean>
  |  </server>
  | 

and copy it in $JBOSS_HOME/server/messaging/deploy

This is what you should see in the log after a successful deployment:


  | ...
  | 10:22:11,771 INFO  [Topic] Topic[/topic/myTopic] started, fullSize=75000, 
pageSize=2000, downCacheSize=1000
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935185#3935185

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935185


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to