Re: Multicast from File Polling

2009-03-11 Thread Claus Ibsen
On Thu, Mar 12, 2009 at 6:25 AM, Bruno Borges wrote: > Yes, but the second endpoint doesn't get the message correctly as the file > has already been pulled out. Are you using Camel 1.x? The file component has been totally rewritten in 2.0. You can then send to an intermediate endpoint and then mu

Re: Multicast from File Polling

2009-03-11 Thread Bruno Borges
Yes, but the second endpoint doesn't get the message correctly as the file has already been pulled out. Bruno Borges blog.brunoborges.com.br +55 21 76727099 "The glory of great men should always be measured by the means they have used to acquire it." - Francois de La Rochefoucauld On Thu, Mar

Re: Problem with IdempotentConsumer

2009-03-11 Thread Claus Ibsen
On Thu, Mar 12, 2009 at 1:44 AM, chrajanirao wrote: > > Hi, > > Below is from IdempotentConsumer.java of Camel 1.5: > > public void process(Exchange exchange) throws Exception { >        String messageId = > ExpressionHelper.evaluateAsString(messageIdExpression, exchange); >        if (messageId =

Re: Multicast from File Polling

2009-03-11 Thread Claus Ibsen
On Wed, Mar 11, 2009 at 9:18 PM, Bruno Borges wrote: > What is the best option to do a multicasting from a file polling endpoint? Do you care to explain a bit more in details what you excacty mean? Using this will send the same message to a,b and c simultaneously: from(file).multicast().to(a, b,

Problem with IdempotentConsumer

2009-03-11 Thread chrajanirao
Hi, Below is from IdempotentConsumer.java of Camel 1.5: public void process(Exchange exchange) throws Exception { String messageId = ExpressionHelper.evaluateAsString(messageIdExpression, exchange); if (messageId == null) { throw new NoMessageIdException(exchange, mes

Multicast from File Polling

2009-03-11 Thread Bruno Borges
What is the best option to do a multicasting from a file polling endpoint? Bruno Borges blog.brunoborges.com.br +55 21 76727099 "The glory of great men should always be measured by the means they have used to acquire it." - Francois de La Rochefoucauld Sent from: Rio de janeiro Rj Brazil.

Re: Adding custom mbeans to camel JMX mbeanserver

2009-03-11 Thread smullins7
Nevermind, just read in the docs that I should attach my fix to the jira and fire off an email to the forum group :) smullins7 wrote: > > I created CAMEL-1450; I can't actually assign this to anyone but mind if I > take a stab at it? Should I comment on the jira or this thread when I > have som

Re: Adding custom mbeans to camel JMX mbeanserver

2009-03-11 Thread smullins7
I created CAMEL-1450; I can't actually assign this to anyone but mind if I take a stab at it? Should I comment on the jira or this thread when I have something ready for review? James.Strachan wrote: > > 2009/3/11 smullins7 : >> >> Yep that sounds fine to me. Should I create a jira for this?

Re: Adding custom mbeans to camel JMX mbeanserver

2009-03-11 Thread James Strachan
2009/3/11 smullins7 : > > Yep that sounds fine to me.  Should I create a jira for this?  I haven't read > any information for developers on this project yet (will do that right now). Yes please! :). More details on contributing here... http://camel.apache.org/contributing.html See if implementing

Re: Adding custom mbeans to camel JMX mbeanserver

2009-03-11 Thread smullins7
Yep that sounds fine to me. Should I create a jira for this? I haven't read any information for developers on this project yet (will do that right now). Claus Ibsen-2 wrote: > > On Wed, Mar 11, 2009 at 4:35 PM, smullins7 wrote: >> >> No spring is not creating my endpoint that's probably the

Re: Adding custom mbeans to camel JMX mbeanserver

2009-03-11 Thread Claus Ibsen
On Wed, Mar 11, 2009 at 4:35 PM, smullins7 wrote: > > No spring is not creating my endpoint that's probably the problem.  Right > now, my custom component creates my custom endpoint.  For the time being I > might just register the mbeans myself but I was hoping for a less invasive > way to expose

Re: Adding custom mbeans to camel JMX mbeanserver

2009-03-11 Thread smullins7
No spring is not creating my endpoint that's probably the problem. Right now, my custom component creates my custom endpoint. For the time being I might just register the mbeans myself but I was hoping for a less invasive way to expose these mbeans. I would love to help out, do you have a sugge

Re: Camel-Mina Request/Response correlation

2009-03-11 Thread mam1
Claus Ibsen-2 wrote: > > Hi > > Feel free to create a ticket if you would like such a feature in Camel > with the mina being able to correlate. Maybe there is something we can > do. > But yet again JMS is much better for reliable messaging, but sometimes > low level TCP could be feasible inste

Re: Lingo Style Async Request Reply

2009-03-11 Thread Scott Clasen
Thanks James. Passing the smart proxy callbacks was the piece I am looking for. Any roadmap for when this might get in? Should I just use Lingo? Thanks SC James.Strachan wrote: > > 2009/3/10 Scott Clasen : >> >> Are there plans to support Lingo style async request-reply in any >> upcoming >

Re: Lingo Style Async Request Reply

2009-03-11 Thread James Strachan
2009/3/10 Scott Clasen : > > Are there plans to support Lingo style async request-reply in any upcoming > release of Camel? > > From some older posts it looks like there may have been a plan to get it in > eventually but this dosent seem to be in 1.6.0. Ultimately yes. Camel already supports asyn

Re: Adding custom mbeans to camel JMX mbeanserver

2009-03-11 Thread James Strachan
2009/3/10 smullins7 : > > Hey thanks for the quick reply, I should have said what I've already tried, > using Spring JMX wiring does not work.  I add the annotations on my custom > endpoint, then I wire in the mbean server, assembler, etc and i don't see my > custom endpoint - I still only see the

Re: trying to implement rendezvous

2009-03-11 Thread Claus Ibsen
On Wed, Mar 11, 2009 at 10:55 AM, Neil Rutherford wrote: > With this approach: > > from(tcp).process(controlMessage).to("direct:submsg"); > from("direct:submsg").split().parallelProcessing().to(client socket).end(); > > How does the threading work? > > Will a new thread be spawned for each new req

Re: trying to implement rendezvous

2009-03-11 Thread Neil Rutherford
With this approach: from(tcp).process(controlMessage).to("direct:submsg"); from("direct:submsg").split().parallelProcessing().to(client socket).end(); How does the threading work? Will a new thread be spawned for each new request into the tcp endpoint and will that thread then spawn a new thread

Re: Camel-Mina Request/Response correlation

2009-03-11 Thread Claus Ibsen
Hi Looks like Mina 2.0 will have support for this out of the box. So we will wait for Mina 2.0. On Wed, Mar 11, 2009 at 8:16 AM, Claus Ibsen wrote: > Hi > > Feel free to create a ticket if you would like such a feature in Camel > with the mina being able to correlate. Maybe there is something we

Re: Camel-Mina Request/Response correlation

2009-03-11 Thread Claus Ibsen
Hi Feel free to create a ticket if you would like such a feature in Camel with the mina being able to correlate. Maybe there is something we can do. But yet again JMS is much better for reliable messaging, but sometimes low level TCP could be feasible instead if bringing in a JMS broker in the ser

Re: Adding custom mbeans to camel JMX mbeanserver

2009-03-11 Thread Claus Ibsen
On Tue, Mar 10, 2009 at 5:27 PM, smullins7 wrote: > > Hey thanks for the quick reply, I should have said what I've already tried, > using Spring JMX wiring does not work.  I add the annotations on my custom > endpoint, then I wire in the mbean server, assembler, etc and i don't see my > custom end

Re: Transactional batching

2009-03-11 Thread Claus Ibsen
On Tue, Mar 10, 2009 at 8:23 PM, Thomas Beckmann wrote: > Hi, > > Am Dienstag 10 März 2009 schrieb Claus Ibsen: >> On Tue, Mar 10, 2009 at 3:23 PM, Thomas Beckmann >> >> wrote: >> > Hi, >> > >> > we are using camel 1.6 and we have a simple route that reads from an >> > activemq queue and writes t

Re: trying to implement rendezvous

2009-03-11 Thread Claus Ibsen
On Wed, Mar 11, 2009 at 7:53 AM, Neil Rutherford wrote: > > hi, > > I've been tasked with doing a proof of concept project using Camel, the goal > is to implement a message switching server. > > The switch needs to do the following: > > - receive XML messages via TCP socket > - these messages are