You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Sean Beck <se...@gmail.com> on 2013/06/20 22:05:12 UTC

C library for using Camel

Hi all,

I am new to Camel and was directed to use it for some functionality I want
to build into my code.

So I am sending files over to a server and there are two files with the
same name but of a different "type" that are merged together on the server
side. As soon as a file is received I send a message containing the type
and the filename to a queue. Once both files are over on the server I want
to then start another program that combines the two.

I was told Camel could help me do this with ActiveMQ. Is there a C library
of Camel that I can use in my apache module code?

Re: C library for using Camel

Posted by Christian Müller <ch...@gmail.com>.
No.

Best,
Christian

Sent from a mobile device
Am 20.06.2013 22:05 schrieb "Sean Beck" <se...@gmail.com>:

> Hi all,
>
> I am new to Camel and was directed to use it for some functionality I want
> to build into my code.
>
> So I am sending files over to a server and there are two files with the
> same name but of a different "type" that are merged together on the server
> side. As soon as a file is received I send a message containing the type
> and the filename to a queue. Once both files are over on the server I want
> to then start another program that combines the two.
>
> I was told Camel could help me do this with ActiveMQ. Is there a C library
> of Camel that I can use in my apache module code?
>

Re: C library for using Camel

Posted by Sean Beck <se...@gmail.com>.
I'm going through some code examples and the JavaDoc and I can't seem to
find where to() is documented.

I was told to use something like
from("jms:newFileQueue").aggregate(header("CamelFileName")).completionSize(2).to("triggerservice
to process and merge files") to do what I need. I can't find where these
functions are in the documentation though. Does the above look accurate at
all?


On Thu, Jun 20, 2013 at 4:09 PM, Bob Jolliffe <bo...@gmail.com> wrote:

> I don't think you are looking for a C camel library.  Rather a library to
> talk to activemq (either 'native' or http REST) which in turn talks to
> camel.
>
>
> On 20 June 2013 21:05, Sean Beck <se...@gmail.com> wrote:
>
> > Hi all,
> >
> > I am new to Camel and was directed to use it for some functionality I
> want
> > to build into my code.
> >
> > So I am sending files over to a server and there are two files with the
> > same name but of a different "type" that are merged together on the
> server
> > side. As soon as a file is received I send a message containing the type
> > and the filename to a queue. Once both files are over on the server I
> want
> > to then start another program that combines the two.
> >
> > I was told Camel could help me do this with ActiveMQ. Is there a C
> library
> > of Camel that I can use in my apache module code?
> >
>

Re: C library for using Camel

Posted by Bob Jolliffe <bo...@gmail.com>.
I don't think you are looking for a C camel library.  Rather a library to
talk to activemq (either 'native' or http REST) which in turn talks to
camel.


On 20 June 2013 21:05, Sean Beck <se...@gmail.com> wrote:

> Hi all,
>
> I am new to Camel and was directed to use it for some functionality I want
> to build into my code.
>
> So I am sending files over to a server and there are two files with the
> same name but of a different "type" that are merged together on the server
> side. As soon as a file is received I send a message containing the type
> and the filename to a queue. Once both files are over on the server I want
> to then start another program that combines the two.
>
> I was told Camel could help me do this with ActiveMQ. Is there a C library
> of Camel that I can use in my apache module code?
>