I've started experimenting with SCR some. One item I'm curious about is if
there are any annotations or mechanics available for using the Camel proxy
or other mechanics like @EndpointInject, @Produce, @Consume.

The use of the @Produce annotation with uri is quite convenient for making
external connections.  As an example, I have validator that I use in a
filter for go/no go in processing.  In that validator when it fails I use a
producer template to send a message to a route the fires off an email.
With the @Produce that is even simpler because the interface is very
explicit about what it is and what it is for yet remains nicely decoupled.

I'm sure I can make my own factory to create such producers.  But I'm
wondering if (a) does it exist currently and (b) are there any plans to add
it?  Obviously I'm not using Blueprint, Spring or Guice so those libraries
aren't available in this context.

Brad

Reply via email to