Hello,
  I have a question.  Suppose I have a route that has a consumer that is not
"direct", say it's jetty.  For example:

<route R1>
  <from uri="jetty:http://localhost:8080/test"; />
  <to ... />
  <to ... />
</route>

now I want to invoke this route from another route but I don't want to go
via http, rather I want to treat it as if it's direct consumer.  I'm doing
this from either a regular producer/processor or programmatically (maybe a
producerTemplate which I guess is still a producer), so I have an exchange
that I want to just pass to the consumer as if the consumer is using the
direct component.  Is this possible and if so how?

note: I don't want to actually modify route R1 to have a direct consumer, I
want to keep it the same but just invoke it directly without having to go
through the transport protocol and such of the consumer, in this case being
jetty:http.  Also it's all from within the same camel context as the route
R1.



--
View this message in context: 
http://camel.465427.n5.nabble.com/calling-a-non-direct-consumer-directly-tp5732844.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to