Giving anonymous processors an identity - is there an annoation for that?

2010-10-08 Thread Ade
Is it possible to give an anonymous inline Processor an identity using a Java annotation? Am thinking that this would be great for trace or audit purposes, where you want a tracer or interceptor to log/audit that a particular processor on the route has been invoked. I'm not sure if you can put a

Should we (could we?) make Exchanges serializable?

2010-10-08 Thread Ade
I've never been a fan of Java serialization; however, I've been working with a Camel user who wants to be able to serialize an exchange and place the whole thing on a JMS queue. The motivation is that they want to set the exchange up to be subsequently persisted in a database for audit purposes, b