[
http://jira.jboss.com/jira/browse/JBESB-1327?page=all ]
Mark Little updated JBESB-1327:
-------------------------------
Issue Type: Task (was: Feature Request)
Prepend leading slash programatically in JBossRulesRouter
---------------------------------------------------------
Key: JBESB-1327
URL:
http://jira.jboss.com/jira/browse/JBESB-1327
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Content Based Routing
Affects Versions: 4.2.1
Reporter: toby
Assigned To: Mark Little
Priority: Trivial
The getRules method in
org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter.java automatically
prepends a leading slash ("/") to the resource path (the ruleSet file path)
however it may be more intuitive to prepend this only if there isnt already a slash at the
start:
ClassUtils.getResourceAsStream( rulesFile.charAt(0) == '/' ? rulesFile :
"/" + rulesFile, JBossRulesRouter.class);
--
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