Calling WebService with Camel

2013-04-17 Thread PhilBurress
Has anyone had any success calling a webservice via cxf in Camel? We're running into a lot of problems. Are there any examples out there? -- View this message in context: http://camel.465427.n5.nabble.com/Calling-WebService-with-Camel-tp5731026.html Sent from the Camel - Users mailing list

Re: Calling WebService with Camel

2013-04-17 Thread PhilBurress
At this moment, we are getting this error: Here's the endpoint definition: And the route (using a test case to send Jaxb object to direct:start): -- View this message in context: http://camel.465427.n5.nabble.com/Calling-WebService-with-Camel-tp5731026p5731031.html Sent from the Camel -

Dynamic File Location

2013-04-05 Thread PhilBurress
Using the file component, the directory location varies from environment to environment. We are setting the location as a GlobalNamingResource in the tomcat configuration and using jndi to look it up... I've tried all of the following but can't get it to work: 1) 2) 3) Any ideas on how to get

Re: Dynamic File Location

2013-04-05 Thread PhilBurress
Christian Mueller wrote Will this work for you [1]? [1] http://camel.apache.org/using-propertyplaceholder.html Best, Christian Unfortunately, I don't think so. Unless there is a way to register a bean value as a property? -- View this message in context:

Re: Deleting MQ Temporary Queue

2013-04-03 Thread PhilBurress
For MQ we had to create a temporary dynamic model queue, which is specified in the queue connection factory. Example from one of our integration tests: ... and in the route... So it uses the same model queue each time. It appears that Camel will attempt to reuse the temporary queues it creates

Deleting MQ Temporary Queue

2013-04-02 Thread PhilBurress
Our application is using MQ temporary dynamic queues for our replyTo queue in a request/reply pattern. It works fine and is very fast, except the temporary queues do not get deleted at the end of the transaction; only when the application server is shut down. Is there a hook somewhere in Camel

Multicast question

2012-07-16 Thread PhilBurress
Why isn't the original in body of an exchange passed to a route under a multicast? e.g.: The original in body in those subroutes ends up being the in body at the point the multicast is triggered. Is there anyway around this? We need to keep the original exchange in body as it was from the

Re: Multicast question

2012-07-16 Thread PhilBurress
By the way, we are stuck on Camel 2.6. I see that there is a callback to do this in 2.8. -- View this message in context: http://camel.465427.n5.nabble.com/Multicast-question-tp5716086p5716087.html Sent from the Camel - Users mailing list archive at Nabble.com.

Dynamic File Path

2012-06-25 Thread PhilBurress
How do you set a dynamic file path? I need to be able to set the file path based on a system property (resolved via Spring), as the directory varies from environment to environment. -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-File-Path-tp5715061.html Sent from

Unable to set replyManagerExecutorService on jms endpoint

2012-06-04 Thread PhilBurress
Trying to use a custom replyManagerExecutorService (defined as a threadPoolProfile in the camel context) for request/reply as follows: At startup, I get this error: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:

Re: Unable to set replyManagerExecutorService on jms endpoint

2012-06-04 Thread PhilBurress
We are on Camel 2.6. -- View this message in context: http://camel.465427.n5.nabble.com/Unable-to-set-replyManagerExecutorService-on-jms-endpoint-tp5713949p5713955.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Graceful shutdown not graceful at all

2012-05-17 Thread PhilBurress
We've tried that, which works fine. But we want to know what are the various reasons why a message can get stuck in flight. -- View this message in context: http://camel.465427.n5.nabble.com/Graceful-shutdown-not-graceful-at-all-tp5709579p5711435.html Sent from the Camel - Users mailing list

Stuck In-Flight Messages

2012-05-17 Thread PhilBurress
Can anyone tell me what are the various conditions what would causes messages to get stuck in-flight? -- View this message in context: http://camel.465427.n5.nabble.com/Stuck-In-Flight-Messages-tp5711555.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Graceful shutdown not graceful at all

2012-05-16 Thread PhilBurress
We've removed the taskExecutor and have played with min and max concurrent consumers, and still see the issue. Throughout the course of the day, at least 1 or 2 messages gets stuck in-flight. In some cases, we've seen it max out to the maxConcurrentConsumers limit and crash the application. Any

Global Route Policy?

2012-05-15 Thread PhilBurress
Tried setting up a SimpleScheduledRoutePolicy. However, it won't work on multiple routes. Only one route is started. I tried creating separate route policy beans (one for each route), but the same issue occurs, only one route starts. How to get around this? -- View this message in context:

Re: Global Route Policy?

2012-05-15 Thread PhilBurress
http://camel.465427.n5.nabble.com/Delay-route-start-td5686442.html Based on this suggestion for delaying route startup , my config has set to false. This is deployed as a web application and initializes after startup. -- View this message in context:

Re: Global Route Policy?

2012-05-15 Thread PhilBurress
We are on Camel 2.6 if that makes any difference. Can't upgrade due to WAS 6.1. -- View this message in context: http://camel.465427.n5.nabble.com/Global-Route-Policy-tp5710327p5710374.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Graceful shutdown not graceful at all

2012-05-15 Thread PhilBurress
What do you recommend we use in its place (if anything)? -- View this message in context: http://camel.465427.n5.nabble.com/Graceful-shutdown-not-graceful-at-all-tp5709579p5710487.html Sent from the Camel - Users mailing list archive at Nabble.com.

Graceful shutdown not graceful at all

2012-05-14 Thread PhilBurress
We're running into an issue where messages appear to be stuck in-flight and never leave that state. If we shut down the server (we use a customized shutdown policy of 30 seconds), we see this... DefaultShutdo I org.apache.camel.impl.DefaultShutdownStrategy$ShutdownTask run Route: messageInRoute

Re: Graceful shutdown not graceful at all

2012-05-14 Thread PhilBurress
Startup is auto. We've never been able to successfully get jconsole working with WAS. Here is our configuration: -- View this message in context: http://camel.465427.n5.nabble.com/Graceful-shutdown-not-graceful-at-all-tp5709579p5709695.html Sent from the Camel - Users mailing list archive at

Re: Delay route start

2012-05-10 Thread PhilBurress
Mainly this has to do with startup order of applications in our WAS server instance (which we unfortunately cannot change). Just need a small delay of 10 to 15 seconds. -- View this message in context: http://camel.465427.n5.nabble.com/Delay-route-start-tp5686442p5700476.html Sent from the Camel

Delay route start

2012-05-04 Thread PhilBurress
Is there a way to run with autoStartup enabled but have the route wait for a specified period of time before starting to consume messages? -- View this message in context: http://camel.465427.n5.nabble.com/Delay-route-start-tp5686442.html Sent from the Camel - Users mailing list archive at

Re: Delay route start

2012-05-04 Thread PhilBurress
Fantastic. Much appreciated. -- View this message in context: http://camel.465427.n5.nabble.com/Delay-route-start-tp5686442p5686646.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to map Jms Uri to JNDI?

2012-04-29 Thread PhilBurress
Are there examples anywhere? The documentation is not clear on how to perform this. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-map-Jms-Uri-to-JNDI-tp5671063p5674439.html Sent from the Camel - Users mailing list archive at Nabble.com.

How to map Jms Uri to JNDI?

2012-04-27 Thread PhilBurress
Is it possible to map a queue uri to a physical JNDI queue? For example, given this: from uri=jms:queue:myQueue/ How can I map jms:queue:myQueue to the actual JNDI-provided queue resource (e.g. jms/myQueue)? The reason being that our queue names vary from environment to environment. Thanks in

CXF Confusion

2012-03-25 Thread PhilBurress
I'm creating a new camel route fronted by a CXF Web service. In my Web Service endpoint interface, if I have a method like this: The Request object does not get populated with the values passed in the message. However, if I change the method signature to take an Object instead, like this: ..