[jboss-jira] [JBoss JIRA] Closed: (JBESB-172) ActiveMQ qualification
Kurt Stam (JIRA)
jira-events at jboss.com
Fri Dec 8 19:39:38 EST 2006
[ http://jira.jboss.com/jira/browse/JBESB-172?page=all ]
Kurt Stam closed JBESB-172.
---------------------------
Resolution: Done
Done.
1. In our configuration we previously we had:
jndi-Type
jndi-URL
Now we have:
jndi-URL
jndi-connection-factory
jndi-pkg-prefix
See also Scott's comments on: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94539
For example this is what you have to do for activeMQ:
<ContentBasedRouter
service-category="MessageRouting"
service-name="ContentBasedRoutingService"
service-description="This CBR routs messages to different service destination based whether the messageType is XML or Serializable"
listenerClass="org.jboss.soa.esb.listeners.message.CbrJmsQueueListener"
connection-factory="ConnectionFactory"
destination-type="queue"
destination-name="queue/A"
jndi-context-factory="org.apache.activemq.jndi.ActiveMQInitialContextFactory"
jndi-URL="tcp://localhost:61616"
message-selector="service='ContentBasedRouting-SerializableOrXml'"
>
while for jboss you'd use:
jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
jndi-URL="localhost"
2. Also as part of this change support other jms providers I create the queues and/or topics on the fly. Much like is done for MDBs in jboss. I had to do this b/c ActiveMQ does not have a full fledged JNDI, and lookups can be problematic.
3. If you want to use activemq, you need the jars in lib/ext/jms/activemq on your classpath, and you obviously need to run activemq. (Just download and click the activemq.bat)
> ActiveMQ qualification
> ----------------------
>
> Key: JBESB-172
> URL: http://jira.jboss.com/jira/browse/JBESB-172
> Project: JBoss ESB
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: ESB Core
> Affects Versions: 4.0 Beta 1 Maintenance Pack 1
> Reporter: Mark Little
> Assigned To: Kurt Stam
> Priority: Critical
> Fix For: 4.0
>
>
> We need to qualify agains ActiveMQ. Ideally this should just be a configuration change and updates to our manual(s).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list