[
http://jira.jboss.com/jira/browse/JBESB-311?page=comments#action_12349466 ]
Tom Fennelly commented on JBESB-311:
------------------------------------
Could we modify the CbrListener to take these values from attributes versus free form
child elements? IMO we should be trying to discourage the use of free form markup - sure
it's really "flexible", but it's a disaster waiting to happen and a
maintainance nightmare.
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