Yes. Have a look at [1] and [2].

If you have a route like:
from("direct:start")
  .enrich("jetty:xxx", aggregationStrategy)
  .to("direct:yyy");

you can decide which payload is routed in your main route in your
aggregationStrategy. It can be the payload which arrived in the enricher,
the payload received from the jetty call or something different...

[1] http://camel.apache.org/content-enricher.html
[2]
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/processor/aggregate/AggregationStrategy.html

Best,

Christian Müller
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Mon, Jun 10, 2013 at 12:24 PM, suyash.singh <suyash.si...@gmail.com>wrote:

> To add to my previous post - basically I want to send a message out from
> Jetty mid-route and then continue the route as is. Is this possible?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Problem-with-runTimeException-handling-tp5733659p5734059.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to