You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Hendy Irawan <he...@soluvas.com> on 2009/12/04 12:42:08 UTC
cometd client connector for Camel
I'm working with cometd on my current project and tried to use Camel-cometd.
However, it seems that Camel sets up its own cometd server.
What I'd like to do is connect to an existing cometd server, so the Camel
app acts as a cometd/Bayeux client. Now I'm doing this with cometd.org's
java-client and doing pretty well.
But if anyone has any ideas how to make integration for this with Camel I'd
be more than happy to know. I don't know how to create a Camel connector.
Thank you.
--
View this message in context: http://old.nabble.com/cometd-client-connector-for-Camel-tp26635861p26635861.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: cometd client connector for Camel
Posted by Hendy Irawan <he...@soluvas.com>.
Hi Claus,
Claus Ibsen-2 wrote:
>
> I have no idea. But we love contributions so if you think you can
> improved the camel-cometd component then that would be great.
>
I tried making my own camel-comet component. The reason I didn't improve
cometd because they're technically different (comet-cometd is a server while
camel-comet is a client) and I believe cometd uses an older version of
cometd/Bayeux, that's not compatible with the new bayeux I'm using.
I need some help though, Claus. The Producer test runs alright, however the
Consumer test is not working.
The logs said that the CometConsumer received the messages correctly,
however doing processor.process(exchange) seem to do "nothing". I configured
the test to route from the comet endpoint to "mock:received", however upon
asserts, nothing is received by "mock:received".
Could somebody help me?
The project is here:
http://github.com/ceefour/camel-comet
In order to run the tests, a local cometd server is needed.
Get the `cometd-demo` project here:
http://github.com/ceefour/cometd-demo
Deploy it or install the resulting WAR on your container under
`/cometd-demo` context so it's accesible by:
http://localhost:8080/cometd-demo
Run `mvn test` from the `camel-cometd` project to run the tests.
Thank you in advance.
--
View this message in context: http://old.nabble.com/cometd-client-connector-for-Camel-tp26635861p26674507.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel source not available -- Re: cometd client connector for
Camel
Posted by Claus Ibsen <cl...@gmail.com>.
On Sun, Dec 6, 2009 at 4:54 PM, Hendy Irawan <he...@soluvas.com> wrote:
>
>
> Claus Ibsen-2 wrote:
>>
>> I have no idea. But we love contributions so if you think you can
>> improved the camel-cometd component then that would be great.
>>
>
> Thanks Claus, I guess that's the only logical action I should take.
>
> Trying to download Camel source though gives me 404 error:
>
> http://www.apache.org/dist/camel/apache-camel/2.1.0/apache-camel-2.1.0-src.tar.gz
>
> Brings me:
>
> Not Found
>
> The requested URL
> /dist/camel/apache-camel/2.1.0/apache-camel-2.1.0-src.tar.gz was not found
> on this server.
> Apache/2.3.4 (Unix) mod_fcgid/2.3.2-dev Server at www.apache.org Port 80
>
See this topic
http://old.nabble.com/2.1-release-download-td26658552.html
> --
> View this message in context: http://old.nabble.com/cometd-client-connector-for-Camel-tp26635861p26666122.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus
Camel source not available -- Re: cometd client connector for Camel
Posted by Hendy Irawan <he...@soluvas.com>.
Claus Ibsen-2 wrote:
>
> I have no idea. But we love contributions so if you think you can
> improved the camel-cometd component then that would be great.
>
Thanks Claus, I guess that's the only logical action I should take.
Trying to download Camel source though gives me 404 error:
http://www.apache.org/dist/camel/apache-camel/2.1.0/apache-camel-2.1.0-src.tar.gz
Brings me:
Not Found
The requested URL
/dist/camel/apache-camel/2.1.0/apache-camel-2.1.0-src.tar.gz was not found
on this server.
Apache/2.3.4 (Unix) mod_fcgid/2.3.2-dev Server at www.apache.org Port 80
--
View this message in context: http://old.nabble.com/cometd-client-connector-for-Camel-tp26635861p26666122.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: cometd client connector for Camel
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
On Fri, Dec 4, 2009 at 12:42 PM, Hendy Irawan <he...@soluvas.com> wrote:
>
> I'm working with cometd on my current project and tried to use Camel-cometd.
>
> However, it seems that Camel sets up its own cometd server.
>
> What I'd like to do is connect to an existing cometd server, so the Camel
> app acts as a cometd/Bayeux client. Now I'm doing this with cometd.org's
> java-client and doing pretty well.
>
> But if anyone has any ideas how to make integration for this with Camel I'd
> be more than happy to know. I don't know how to create a Camel connector.
>
I have no idea. But we love contributions so if you think you can
improved the camel-cometd component then that would be great.
> Thank you.
> --
> View this message in context: http://old.nabble.com/cometd-client-connector-for-Camel-tp26635861p26635861.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus