RE: route's name in jconsole
Hello Marchin, U suspect that you need to put the setId() section of the DSL immediately after the very first from element. from().setId("RouteName").... Jaco van Tonder Development & Integration: Software Engineer ubank A Sanhill Park, 1 Eglin Road, Sunninghill, Johannesburg, 2157 C +27 83 417 5424 T +27 11 518 5166 F 0866 754 9526 W http://www.ubank.co.za/ From: marcin [mtros...@gmail.com] Sent: 23 February 2011 02:18 PM To: users@camel.apache.org Subject: route's name in jconsole Hi, I would like to monitor my camel's routes using jconsole. When I create route in xml ... in jconsole I can see route's name "article-processing-route". But when I create route in dsl from("activemq:queue:test").process(processor).setId("article-processing-event"); in jconsole I can see route's name like "route88". How can I set my route to see custom route's name in jconsole? Cheers, Marcin -- View this message in context: http://camel.465427.n5.nabble.com/route-s-name-in-jconsole-tp3396942p3396942.html Sent from the Camel - Users mailing list archive at Nabble.com. To view the ubank e-mail disclaimer visit: http://www.ubank.co.za/disclaimer/disclaimer.html # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal #
RE: route's name in jconsole
Marcin, Sorry, my bad, the actual DSL portion is routeId() and not setId(). Jaco van Tonder Development & Integration: Software Engineer ubank A Sanhill Park, 1 Eglin Road, Sunninghill, Johannesburg, 2157 C +27 83 417 5424 T +27 11 518 5166 F 0866 754 9526 W http://www.ubank.co.za/ From: marcin [mtros...@gmail.com] Sent: 23 February 2011 04:25 PM To: users@camel.apache.org Subject: RE: route's name in jconsole Hi, I cannot use setId(...) immediately after from(...) because setId(...) returns void and it should be use at the end of the route. Cheers, Marcin -- View this message in context: http://camel.465427.n5.nabble.com/route-s-name-in-jconsole-tp3396942p3397104.html Sent from the Camel - Users mailing list archive at Nabble.com. To view the ubank e-mail disclaimer visit: http://www.ubank.co.za/disclaimer/disclaimer.html # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal #