On Sun, Jul 31, 2016 at 6:01 AM, Brad Johnson <brad.john...@mediadriver.com> wrote: > 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. >
Does not exists, and there is no plan. Community users would need to dive into this themselves and look what is possible. We love contributions http://camel.apache.org/contributing > Brad -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2