[JBossMQ] - How can I use different DestinationManager services
by EugenyT
I'm trying to use different DestinationManager services. Reason for that - I need to use different PersistantManager and StateManager for different durable topics.
In order to do that I deploy AAA-jms-service.xml
includes :
<depends optional-attribute-name="MessageCache">jboss.mq:service=AAAMessageCache
<depends optional-attribute-name="PersistenceManager">jboss.mq:service=AAAPersistenceManager
<depends optional-attribute-name="StateManager">jboss.mq:service=AAAStateManager
.....
<depends optional-attribute-name="DestinationManager">jboss.mq:service=AAADestinationManager
<depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager
After deploy of AAA-JMS-Service.xml and ear includes MDB which intended to listen to AAATopic I see the following exception :
javax.jms.InvalidDestinationException: The destination TOPIC.AAATopic.DurableSubscription[clientId=AAA-Handler name=AAAdb selector=null] does not exist !
When I'm looking on AAADestinationManager on jmx-console I see that clients map is empty, although I see AAATopic on MessageCounter and Message statistics.
JBOSS version 4.2.3
Is it possible at all to use different DestinationManager services?
If yes - any thoughts about what I'm doing wrong?
If no - is there any other way to use different persistant and state managers.
Thanks a lot in advance
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222845#4222845
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222845
15 years, 9 months
[JBoss jBPM] - ClassLoader questions...
by schmoely
Hi jBPM community,
I just downloaded/installed the jBPM installer (jbpm-installer-3.2.6.SP1.jar) and it installed a jbpm directory in my server deploy directory (with the enterprise ear, the service sar and the console war).
I will be creating a number of processes that need to signal a web service when a particular node is reached. So I implement an ActionHandler on that node and in my handler, have it call a web service.
Problem is: the code that calls the web service has a butt load of jar dependencies (all the cxf stack) and I don't want to put them way up in server/lib - because that'll conflict with other wars deployed on the server.
Similarly, I don't want to deploy the jars in the sar/lib directory because then those classes will be forced to all other clients of jBPM.
I've been banging my head against the wall all day on this: is there a standard pattern or configuration change I can apply to get this realized? I've looked at the jbpm.classLoader property but can't fathom how to put it to work here...
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222838#4222838
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222838
15 years, 9 months