Hi Camel-Riders,
using Camel 2.13.2 we extend EventNotifierSupport to implement statistics
collection for routes and endpoints. For endpoints we can extract the
configured route id via exchange.getFromRouteId() but I can see no way to
access the "id" for endpoints in our camel spring dsl, only thing
accessible is endpoint.getEndpointKey() which gives back the uri content.
Unfortunately this is not very stable if uri options change and not a good
reference for our statistics map. Is there a way to access the "id" for
endpoints as declared in the route ?
Example route:
<route id="isbExampleService_route" trace="true">
<from id="httpEndpoint"
uri="cxf:bean:isbExampleService?dataFormat=MESSAGE橪;synchronous=true" />
<to id="serviceImpl" uri="direct:
isb.lhsystems.com/services/IsbExampleServiceImpl" />
</route>
ServiceImpl Endpoint:
EndpointKey: "direct:isb.lhsystems.com/services/IsbExampleServiceImpl"
id = "serviceImpl" -- not visible/accessible ?!
Thanks and Regards,
Michael
using Camel 2.13.2 we extend EventNotifierSupport to implement statistics
collection for routes and endpoints. For endpoints we can extract the
configured route id via exchange.getFromRouteId() but I can see no way to
access the "id" for endpoints in our camel spring dsl, only thing
accessible is endpoint.getEndpointKey() which gives back the uri content.
Unfortunately this is not very stable if uri options change and not a good
reference for our statistics map. Is there a way to access the "id" for
endpoints as declared in the route ?
Example route:
<route id="isbExampleService_route" trace="true">
<from id="httpEndpoint"
uri="cxf:bean:isbExampleService?dataFormat=MESSAGE橪;synchronous=true" />
<to id="serviceImpl" uri="direct:
isb.lhsystems.com/services/IsbExampleServiceImpl" />
</route>
ServiceImpl Endpoint:
EndpointKey: "direct:isb.lhsystems.com/services/IsbExampleServiceImpl"
id = "serviceImpl" -- not visible/accessible ?!
Thanks and Regards,
Michael