[
http://jira.jboss.com/jira/browse/JBESB-311?page=comments#action_12349472 ]
Burr Sutter commented on JBESB-311:
-----------------------------------
The result that is currently expected is:
<XPathContentBasedRouter
service-category="CBRContent"
service-name="ContentBasedRoutingService"
service-description="This CBR routes messages to different shipping services based
on Order totalAmount"
listenerClass="org.jboss.soa.esb.listeners.message.CbrJmsQueueListener"
connection-factory="ConnectionFactory"
destination-type="queue"
destination-name="queue/XMLTarget"
jndi-type="jboss"
jndi-URL="localhost">
<cbr ruleSet="MyESBRules-XPath.drl"
ruleLanguage="MyXPathLanguage.dsl" />
</XPathContentBasedRouter>
I would agree that making this use attributes makes more sense. At the moment, it kind of
looks like an action when in fact it is not. Or we should actually make it an action like
transformations are handled so they are consistent! Need a comment from Kurt
jbossesb.xml and CBR is broken
------------------------------
Key: JBESB-311
URL:
http://jira.jboss.com/jira/browse/JBESB-311
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Content Based Routing
Affects Versions: 4.0
Environment: Win2K Pro
Reporter: Burr Sutter
Assigned To: Tom Fennelly
Fix For: 4.0
Attachments: jbossesb-listener.xml, jbossesb.xml
CBR & the new jbossesb.xml don't seem to generate a proper jbossesb-listener.xml.
The CBR properties show up as attributes instead of a child element. Here is the
declaration in jbossesb.xml:
<service
category="MyFirstCBRServicesESB"
name="FirstCBRServiceESB"
description="ESB Listener"
is-gateway="false"
service-class="org.jboss.soa.esb.listeners.message.CbrListener">
<listeners>
<jms-listener name="XPathContentBasedRouter"
busidref="quickstartEsbChannel"
maxThreads="1">
<property name="ruleSet"
value="MyESBRules-XPath.drl"/>
<property name="ruleLanguage"
value="XPathLanguage.dsl"/>
</jms-listener>
</listeners>
</service>
--
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