camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fitzcaraldo <>
Subject Getting the last used endpoint
Date Thu, 02 Feb 2012 08:49:21 GMT
I am writing an audit bean that will write the payload to a JMS queue after
attaching some metadata as headers to the message eg


The metadata I want include context, routeID, source endpoint, source
payload, target endpoint, target payload, among others.

What I can't figure out is how to determine the most recently used endpoint
inside the bean (eg jms:queue:out in the above).

The context has getEndpoints() returning a list of all Endpoints in the
context but I cannot work out which was the last used.  

Is there a way?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message