According to the JMX console, despite all efforts I am still unable to create durable subscriptions. I've searched through several web documents however there are serious discrepancies between different solutions.
It is not clear (diffrent sources suggest different things) whether the jbossmq-state.xml (the one in the conf directory) should contain TopicName or simply Topic attribute in the DurableSubscriptions section, I tried both without success. I am even not sure if users are supposed to change the .xml file in question (it is included in the docs library but not in the default server configuration.) <DurableSubscriptions> | <DurableSubscription> | <ClientID>10001</ClientID> | <Name>dur1</Name> | <TopicName>MessagingTopic</TopicName> | </DurableSubscription> | </DurableSubscriptions> In connection with jboss.xml I've found that giving mdb-client-id attribute (which again has been suggested by several sources) results in a conflict between the ejb-jar.xml (the AS says that the client-id has been given) so I put it into a comment section (actually I don't really know what the mdb-subcription-id tag means, I couldn't found any descripiton. <message-driven> | <ejb-name>OutboundProxyBean</ejb-name> | <destination-jndi-name>jms/MessagingTopic</destination-jndi-name> | <mdb-user>john</mdb-user> | <mdb-passwd>needle</mdb-passwd> | <!-- <mdb-client-id>10001</mdb-client-id> --> | <mdb-subscription-id>mySubscription</mdb-subscription-id> | </message-driven> Using the 'guest' client in the ejb-jar.xml and the code segment above, viewing the DestinationManager service at jmx-console, the subscription-id is always 1 (not the 10001 value I set). Actually, the difference between client-id and subscription-id is not clear. Again I have to say, any help would be appreciated: Frank-15 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863077#3863077 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863077 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
