camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: how to route pojo in camel
Date Mon, 24 Aug 2015 20:55:55 GMT
Something like this:

from("timer:...")
  .to("sql:...")
  .split(...)
    .convertBodyTo(...)
    .to("cxf:...")
    .to("ftp:...")
  .end();

Best,

Christian
-----------------

Software Integration Specialist

Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
Apache Incubator PMC Member

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

On Fri, Aug 21, 2015 at 12:38 PM, Amar Sheth <shethaa2000@gmail.com> wrote:

> Hi,
>
> I am new to Apache Camel,
>
> I have an requirement were in I have to route pojo in camel and some
> processing to be done.
>
> My scenario/requirement is
>
> I have first component , which do the DB fetch and get the records, now for
> each records, call a webservice, which will return java POJO, we need to
> pass this pojo to route for some processing and ftp
>
> Pseudo Logic
>
> from("Java Pojo").Process("Some Process").to("ftp location").
>
> My question is how do I pass the Java Pojo in from part of the camel?
>
> Regards,
> Amar S
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message