I'm not sure if it is possible, but perhaps you can do it with a quartz poller doing an enrich from a direct endpoint. Something like this (out of my head)
from("direct:processOne") .to("direct:processTwo"); from("quartzPoller") .pollEnrich("direct:processTwo") .bean(otherProcessors...); http://camel.apache.org/content-enricher.html http://camel.apache.org/quartz.html It's perhaps something to try. Otherwise I also believe you'll have to use some external mechanism (jms, file, database). ________________________________ Van: Robert Davies [via Camel] [ml-node+s465427n5733251...@n5.nabble.com] Verzonden: maandag 27 mei 2013 13:32 To: Wuyts Diether Onderwerp: Re: Communication between two processes without using external messaging systems or files hi Shadab, it really sounds like you really should be using ActiveMQ. You can run it embedded - collocated with your producing process - and you don't need to use persistence see here how to set it up - http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html and here's an example with camel - http://camel.apache.org/walk-through-an-example.html I know you don't want to use ActiveMQ - but the best way to do what you want is actually with ActiveMQ :) thanks, Rob On 27 May 2013, at 10:01, Mohammad Shadab Ali <[hidden email]<UrlBlockedError.aspx>> wrote: > Hi, > > We have a requirement where we are having two processes. The output of one > process will be the input for the second one. We do not want to use the > external messaging systems like active MQ etc and also we do not want to use > file component. > We want something like first process will dump the message in some internal > queue(or something else) and the second process will be polling this queue > for the messages. > Is there any component available in camel to achieve this requirement. > Thanks in advance. > > Regards, > Shadab > > ________________________________ > *** This e-mail (and any attachments), is confidential and may be privileged. > It may be read, copied and used only > by intended recipients. Unauthorized access to this e-mail (or attachments) > and disclosure or copying of its > contents or any action taken in reliance on it is unlawful. Unintended > recipients must notify the sender immediately > by e-mail/phone & delete it from their system without making any copies or > disclosing it to a third person.*** > > This e-mail (and any attachments), is confidential and may be privileged. It > may be read, copied and used only > by intended recipients. Unauthorized access to this e-mail (or attachments) > and disclosure or copying of its > contents or any action taken in reliance on it is unlawful. Unintended > recipients must notify the sender immediately > by e-mail/phone & delete it from their system without making any copies or > disclosing it to a third person. > ________________________________ If you reply to this email, your message will be added to the discussion below: http://camel.465427.n5.nabble.com/Communication-between-two-processes-without-using-external-messaging-systems-or-files-tp5733248p5733251.html To start a new topic under Camel - Users, email ml-node+s465427n465428...@n5.nabble.com To unsubscribe from Camel - Users, click here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=ZGlldGhlci53dXl0c0BvcHRpcy5iZXw0NjU0Mjh8OTE4NjI3OTg5>. NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://camel.465427.n5.nabble.com/Communication-between-two-processes-without-using-external-messaging-systems-or-files-tp5733248p5733255.html Sent from the Camel - Users mailing list archive at Nabble.com.