[esb-issues] [JBoss JIRA] Closed: (JBESB-1327) Prepend leading slash programatically in JBossRulesRouter
Mark Little (JIRA)
jira-events at lists.jboss.org
Sat Mar 15 19:40:50 EDT 2008
[ http://jira.jboss.com/jira/browse/JBESB-1327?page=all ]
Mark Little closed JBESB-1327.
------------------------------
Fix Version/s: 4.2.1 CP2
Resolution: Done
> 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
> Fix For: 4.2.1 CP2
>
>
> 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
More information about the esb-issues
mailing list