Hi,
I'm new to JBoss Messaging services. I started with simple Queue example. It was deployed well and able to taste the result.
Now the problem is, i"m unable to configure the TOPIC.What i did is
1)I'm using the default (as deployment folder).
2) I created the xml file and named as
jboss-topic-service.xml. in default/config folder
<server> <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="guest" read="true" write="true"/> <role name="publisher" read="true" write="true" create="false"/> <role name="durpublisher" read="true" write="true" create="true"/> </security> </attribute> </mbean> </server>
12:13:53,352 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started 12:13:53,461 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000 12:13:53,539 INFO [QueueService] Queue[/queue/testQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000 12:13:53,618 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds 12:13:53,618 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1f4ed3f started
Hi
I got the error what i did. instead of placing the -service.xml file in conf folder, we need to place the file in deploy folder.
Thanks,