Re: Cannot figure out routing to a remote web service

2012-09-15 Thread boday
see http://camel.apache.org/cxf-proxy-example.html mjkrumlauf wrote > > I am having difficulty figuring out how to using any combination of Camel > and the CXF or CXF Bean components to route to a remote web service. I > would like to do something like this: > > from("someplace") > .to("cxf:

Re: how to retrieve the consumer and/or producer created in an endpoint

2012-09-15 Thread boday
I don't see any APIs in the DefaultContext/DefaultEndpoint for this...you can get Consumer information in JMX however suralk wrote > > Hi All, > Suppose I have defined my camel context:  >  CamelContext camel = new DefaultCamelContext(); > > after defining routes, > I can access the set of end

Re: aggregatorstrategy on specified jms replyto question

2012-09-15 Thread boday
not sure I follow exactly, but here is an example of aggregating based on the JMSCorrelationID in SpringDSL... header.JMSCorrelationID - Ben O'Day IT Consultant -http://consulting-notes.com -- View this message in context: http://camel.465427.n5.nabble.com/agg

Re: Distributed transaction in camel route

2012-09-15 Thread James Carman
So, which transaction manager would you give to the jms component? The jms one? Then the db inserts/updates would use the Aries transaction manager? I'll use your example project as a sandbox to play with this setup. Thanks again! On Sep 15, 2012, at 4:54 PM, Christian Müller wrote: > Yo

aggregatorstrategy on specified jms replyto question

2012-09-15 Thread realice
Hi, I have the following use case I'm sending one message with a specified jmsreplyto header and expects 4 or 5 messages on the reply queue, I would like to aggregate these messages based on the correlationID. I look in the book, the manual and the examples directory but couldn't find any spring d

javax.jbi.messaging.MessagingException: Could not find route for exchange ...

2012-09-15 Thread dennisbaerten
I have the following setup camel-sa that contains : camel-su & cxfbc-su camel-su : camel-context.xml contains

Re: Distributed transaction in camel route

2012-09-15 Thread Christian Müller
You could use a "normal" JMS transaction to read your JMS message and write the response back into a queue (in the same transaction of course). Make sure your database inserts/updates are committed all together. If your database insert/update fails, the JMS transaction manager will rollback your tr

Re: Camel sftp

2012-09-15 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html Or you can use a route policy and then schedule the routes to start|stop after timing. Or when then last file has been transferred. http://camel.apache.org/routepolicy And take a look at the idempotent consumer EIP

Re: I want to build a camel route programmatically...

2012-09-15 Thread Claus Ibsen
On Sat, Sep 15, 2012 at 2:43 AM, e0richt wrote: > ok, but I want to use the whole gamut of what is possible in camel during > runtime. > I have tried using the intermediate object shown by Eclipse but that > definately did not work... > > > given this: > > from(") > .to("..) >

Re: Sending to remote WMQ queue.

2012-09-15 Thread Caa_man
We changed *to* from useless in our case to : MqRemoteSender implements native message sending (using MQQueueManager and MQQueue) with necessary MQ-settings like remote queue and manager. -- View this message in context: http://camel.465427.n5.nabble.com/Sending-to-remote-WMQ-queue-tp5717052p5

Re: Problem with getting messages via POP3

2012-09-15 Thread Caa_man
Claus Ibsen-2 wrote > > pop3 has limitations with delete/seen flags on processed mail messages. > Sun mail framework works fine with several mail-msgs are obtained via pop3: 1) read n messages one by one from pop3 2) process n messages 3) mark processed messages for deletion (using pop3 command