Very very newbie question about Camel.

2016-02-20 Thread hoboy
465427.n5.nabble.com/Very-very-newbie-question-about-Camel-tp5777972.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Multicast or pipeline? Newbie question

2012-12-06 Thread Mike Stroming
> second bean after the first one. You should be aware that Camel will create > shallow copy of all your headers and the body. > > [1] http://camel.apache.org/multicast.html > > Best, > Christian > > On Thu, Dec 6, 2012 at 4:58 PM, Mike Stroming wrote: > > > Hi

Re: Multicast or pipeline? Newbie question

2012-12-06 Thread Christian Müller
http://camel.apache.org/multicast.html Best, Christian On Thu, Dec 6, 2012 at 4:58 PM, Mike Stroming wrote: > Hi all, > > Another newbie question, if you don't mind. > > I have two processes that need the same message as input. However, the > second process should only ru

Re: Multicast or pipeline? Newbie question

2012-12-06 Thread James Carman
I would say you don't need anything really special here. Something like this should suffice: from("jms:queue:input").beanRef("beanOne", "methodOne").beanRef("beanTwo", "methodTwo"); On Thu, Dec 6, 2012 at 10:58 AM, Mike Stroming wrote: &

Re: Multicast or pipeline? Newbie question

2012-12-06 Thread lleclerc
A multicast would send the same Exchange to both. My guess is pipeline. -- View this message in context: http://camel.465427.n5.nabble.com/Multicast-or-pipeline-Newbie-question-tp5723711p5723712.html Sent from the Camel - Users mailing list archive at Nabble.com.

Multicast or pipeline? Newbie question

2012-12-06 Thread Mike Stroming
Hi all, Another newbie question, if you don't mind. I have two processes that need the same message as input. However, the second process should only run based on successful output from the first process. Would a multicast/pipeline make sense here or not? I don't need either to get

Re: Newbie question: Topology for Camel: Servlet -> Quartz -> JMS

2012-04-27 Thread Claus Ibsen
> How can I chain the message from servlet -> quartz -> activemq ? (any >> > samples) >> > >> >> So you decouple a servlet request by submitting a job to a quartz >> scheduler. The scheduler will trigger the job >> sometime in the future, and the

Re: Newbie question: Topology for Camel: Servlet -> Quartz -> JMS

2012-04-27 Thread Reynald
future, and the job is to send a message to a queue? > Why do you want to do that? > And what should the client calling the servlet do in the mean time? > Should the servlet just send back a OK message after > it has submitted a job to the scheduler? > > And what happen

Re: Newbie question: Topology for Camel: Servlet -> Quartz -> JMS

2012-04-26 Thread Claus Ibsen
message after it has submitted a job to the scheduler? And what happens after the message has been send to the jms queue? > tks > > PS. We could do this without Camel of course. But Quartz is only the tip of > the iceberg and our first integration... > > -- > View this message

Newbie question: Topology for Camel: Servlet -> Quartz -> JMS

2012-04-25 Thread Reynald
here should I focus on my learning ? How can I chain the message from servlet -> quartz -> activemq ? (any samples) tks PS. We could do this without Camel of course. But Quartz is only the tip of the iceberg and our first integration... -- View this message in context: http://camel.46542

Re: newbie question re LifecycleManagementStrategy

2012-04-15 Thread Bob Jolliffe
On 15 April 2012 08:56, Claus Ibsen wrote: > On Sat, Apr 14, 2012 at 11:35 PM, Bob Jolliffe wrote: >> Hi Claus >> >> On 13 April 2012 16:12, Claus Ibsen wrote: >>> Hi >>> >>> What runtime do you use? Tomcat, Standalone, OSGi etc? >> >> Both tomcat and jetty in different settings. >> >>> Camel sh

Re: newbie question re LifecycleManagementStrategy

2012-04-15 Thread Claus Ibsen
On Sat, Apr 14, 2012 at 11:35 PM, Bob Jolliffe wrote: > Hi Claus > > On 13 April 2012 16:12, Claus Ibsen wrote: >> Hi >> >> What runtime do you use? Tomcat, Standalone, OSGi etc? > > Both tomcat and jetty in different settings. > >> Camel should pickup that bean automatic as it lookup the registr

Re: newbie question re LifecycleManagementStrategy

2012-04-14 Thread Bob Jolliffe
Hi Claus On 13 April 2012 16:12, Claus Ibsen wrote: > Hi > > What runtime do you use? Tomcat, Standalone, OSGi etc? Both tomcat and jetty in different settings. > Camel should pickup that bean automatic as it lookup the registry by type. > As shown here > http://camel.apache.org/advanced-config

Re: newbie question re LifecycleManagementStrategy

2012-04-13 Thread Claus Ibsen
Hi What runtime do you use? Tomcat, Standalone, OSGi etc? Camel should pickup that bean automatic as it lookup the registry by type. As shown here http://camel.apache.org/advanced-configuration-of-camelcontext-using-spring.html And does you class really have the correct name? It starts with impo

Re: newbie question re LifecycleManagementStrategy

2012-04-13 Thread Babak Vahdat
responding JIRA Ticket is still open. [1] http://camel.465427.n5.nabble.com/What-replaces-camelContext-getRouteDefinition-String-routeId-td5530724.html Babak -- View this message in context: http://camel.465427.n5.nabble.com/newbie-question-re-LifecycleManagementStrategy-tp5638024p5638343.html

Re: newbie question re LifecycleManagementStrategy

2012-04-13 Thread Bob Jolliffe
> > -- > View this message in context: > http://camel.465427.n5.nabble.com/newbie-question-re-LifecycleManagementStrategy-tp5638024p5638219.html > Sent from the Camel - Users mailing list archive at Nabble.com.

Re: newbie question re LifecycleManagementStrategy

2012-04-13 Thread Babak Vahdat
m-xml-files.html [2] http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/management/mbean/ManagedCamelContext.html#addOrUpdateRoutesFromXml(java.lang.String) Babak -- View this message in context: http://camel.465427.n5.nabble.com/newbie-question-re-LifecycleManagementStr

newbie question re LifecycleManagementStrategy

2012-04-13 Thread Bob Jolliffe
Hi I am struggling a bit with loading a custom LifecycleManagementStrategy. (Like some previous posters I am looking to load some xml routes on startup). I have created a class DHIS2LifecycleManagementStrategy which extends DefaultLifecycleManagementStrategy and overridden the onContextStart() m

Re: Newbie question

2011-10-13 Thread AnitaJ
Brian, Mirko: Thanks much for your help. I got it to work at last... whew! :-) yaay! -Anita -- View this message in context: http://camel.465427.n5.nabble.com/Newbie-question-tp4896854p4899690.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Newbie question

2011-10-12 Thread Mirko Caserta
> http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd > http://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring.xsd";> > > > > > > > class="org.apache.camel.example.gae.TutorialRouteBuilder"/> > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Newbie-question-tp4896854p4896854.html > Sent from the Camel - Users mailing list archive at Nabble.com.

Newbie question

2011-10-12 Thread AnitaJ
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd";> -- View this message in context: http://camel.465427.n5.nabble.com/Newbie-question-tp4896854p4896854.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Newbie question regarding Comet/Jetty

2011-03-22 Thread Willem.Jiang
ile:webapp") > } > > def camelCtx = new DefaultCamelContext() > camelCtx.addRoutes(new SampleRoute()); > camelCtx.start(); > == > > If I remove the "Jetty" route from the Groovy script it will no longer > run. What is exac

Re: Newbie Question #2: Transactional Client

2009-02-24 Thread huntc
View this message in context: http://www.nabble.com/Newbie-Question--2%3A-Transactional-Client-tp22122816p22179744.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Re: Newbie Question #2: Transactional Client

2009-02-20 Thread Tristan Koen
I thought that calling conn.rollback() would sort out the DB side and the thrown SQL exception would sort out the JMS side. I am clearly missing something rather important here, so I will take your advice and spend some time looking into Spring. On Fri, Feb 20, 2009 at 7:26 PM, Claus Ibsen wr

Re: Newbie Question #2: Transactional Client

2009-02-20 Thread Claus Ibsen
Hi Well you gotta get some TX manager in the mix. Otherwise how would you ensure that the JMS and DB participates in the same transaction? Of couse the Camel JMS consumer will be able to rollback if there is an exception thrown, but that does still not ensure that the JMS and DB are managed in th

Newbie Question #2: Transactional Client

2009-02-20 Thread Tristan Koen
I think I am starting to get the hang of Camel now. I have, however, run into one more problem that I would like some advice on. I have already read through the "Transactional Client" documentation page before anyone asks. More on that later :) My scenario is very simple. I have the following (si

Newbie Question #2: Transactional Client

2009-02-20 Thread triswork
present :( -- View this message in context: http://www.nabble.com/Newbie-Question--2%3A-Transactional-Client-tp22120447s22882p22120447.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Newbie Question - Content Filtering

2009-02-19 Thread Ashwin Karpe
or any feedback/advice > > Tristan > - --- Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence Progress Software Corporation 14 Oak Park Drive Bedford, MA 01730 --- +1-972-304-9084 (Office) +1-972-971-1700 (Mobile) Blog: http://opensourceknowledge.b

Re: Newbie Question - Content Filtering

2009-02-19 Thread Jon Anstey
t I have to put > a filter on a header field after my processor executes. Two specific > questions: > 1) Is there a simpler/more efficient way to do this? > 2) Do I have to do anything special to the message to get rid of it (in > cases where the DB record already exists). Or will it just

Newbie Question - Content Filtering

2009-02-19 Thread triswork
will it just be discarded when it fails on my filter predicate? Thanks in advance for any feedback/advice Tristan -- View this message in context: http://www.nabble.com/Newbie-Question---Content-Filtering-tp22107198s22882p22107198.html Sent from the Camel - Users mailing list archive at Nabble.com.