]
Mark Little reassigned JBESB-1327:
----------------------------------
Assignee: Mark Little
Prepend leading slash programatically in JBossRulesRouter
---------------------------------------------------------
Key: JBESB-1327
URL:
http://jira.jboss.com/jira/browse/JBESB-1327
Project: JBoss ESB
Issue Type: Feature Request
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: