On Thu, Sep 1, 2011 at 12:14 PM, bvahdat <babak.vah...@swissonline.ch> wrote: > Hi again, > > Just saw at the screenshots of Camel WIKI itself that backslashes get > included as soon as the endpoint are invoked with some options: > > http://camel.apache.org/camel-jmx.data/camel-jmx.png > > And it happens by the call to > > javax.management.ObjectName.quote(name) > > in the method > > org.apache.camel.management.DefaultManagementNamingStrategy.getObjectNameForCamelContext() > > And Javadoc clearly states that behaviour as well: > > http://download.oracle.com/javase/6/docs/api/javax/management/ObjectName.html#quote(java.lang.String) > > What I still don't understand is regarding my previous second question, > that's the way the servlet endpoints are shown in JConsole: > > /getVersionsService
Hmm could be if ServletEndpoint have a getEndpointUri / Key which returns a custom string. Could you check the camel-servlet source code. > > instead of to my expectation > > servlet://getVersionsService > > Any idea regarding this? > > Regards, Babak > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/backslashes-on-Endpoint-URI-by-JConsole-tp4757427p4757778.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/