Re: using multiple activemq components

2010-12-22 Thread Willem Jiang
On 12/23/10 12:39 PM, Michael La Budde wrote: I have a question regarding the route syntax to use if I need to use more than one instance of the ActiveMQComponent. Here is my spring config file that I hope will work: tcp://10.0.0.25:61616?j

propagate custom context information

2010-12-22 Thread Thomas KRIECHBAUM
Hello, I need to propagate some custom context information (security context; stored as header within my camel exchange) to some component that is not directly accessible in my camel route (jaxws-handler assigned to a cxf:client - both are singletons). Typically, I would introduce a thread loc

Re: Unable to retrieve Exchange.REDELIVERY_EXHAUSTED header

2010-12-22 Thread frankie_hr
Hi, Thank you for your reply! That sure makes sense and explains why I wasn't able to get the header. However, is there any other way to tell whether it's the last redelivery from within the redelivery processor? You suggested to retrieve the REDELIVERY_COUNTER header. Is there a way to retriev

using multiple activemq components

2010-12-22 Thread Michael La Budde
I have a question regarding the route syntax to use if I need to use more than one instance of the ActiveMQComponent. Here is my spring config file that I hope will work: tcp://10.0.0.25:61616?jms.prefectPolicy=1 The "activemq-out"

Re: Extracting request IP in Camel CXF

2010-12-22 Thread Ashwin Karpe
Hi, If the IP address is in a SOAP Header, can you please try the following 1. Add a HeaderFilterStrategy bean in camel-context.xml as shown below 2. Add this id to your camel-cxf endpoint as shown below

Re: transactionErrorHandler()

2010-12-22 Thread Willem Jiang
It is still a part of Camel. The class is in the camel-spring module, please add this module dependency in your project. BTW, the Java DSL that you can use is in the TransactionErrorHandlerBuilder, please use it if you like. Willem On 12/23/10 8:11 AM, Blair wrote: there is a LOT of docume

Re: LoadBalansing configuration

2010-12-22 Thread Willem Jiang
Hi, I don't think Camel support to add and remove the endpoints of the LoadBalancer as you want in the runtime. But the now camel route can be start and stop in the runtime. maybe you can consider to stop the route, change the route and start it again. Please create a JIRA if you cannot work

Re: Issue with camel-dozer

2010-12-22 Thread Willem Jiang
Hi, Please feel free to create a JIRA in Camel, so we can keep trace with it. There are some known issue[1] about using dozer in osgi, hope we can address it in the next version of dozer. [1]https://issues.apache.org/jira/browse/CAMEL-3228 Willem On 12/23/10 3:26 AM, karafman wrote: Gents

transactionErrorHandler()

2010-12-22 Thread Blair
there is a LOT of documentation around this method, but I can't actually find it in the DSL has it been removed or is it not in there yet (as of 2.6.0?) --- Blair -- View this message in context: http://camel.465427.n5.nabble.com/transactionErrorHandler-tp3315863p3315863.html Sent from the

Re: long-running requests over jms

2010-12-22 Thread Jim Newsham
On 12/21/2010 9:37 PM, Christian Schneider wrote: I think on JMS you never can be sure that the consumer is working on a request. (When using simple request / reply). Yeah, that's precisely the issue I was hoping could be addressed. For direct routes, you know that the consumer is working on

RE: Camel stops listening to Queue

2010-12-22 Thread Michael La Budde
Thank you for your response. Yes, we are experiencing TimeoutExceptions when the server fails to respond within the (default) 20 seconds to an InOut message. I had high hopes that this would fix the issue - alas, it did not. Here is the connection string I'm using: failover:(tcp://10.0.33.11

Re: Issue with camel-dozer

2010-12-22 Thread Richard Kettelerij
See https://issues.apache.org/jira/browse/CAMEL-3228, Camel 2.6 should resolve the issues with Dozer 5.3.0 in an OSGi environment (ticket isn't resolved yet). -- View this message in context: http://camel.465427.n5.nabble.com/Issue-with-camel-dozer-tp3315547p3315810.html Sent from the Camel - Us

LoadBalansing configuration

2010-12-22 Thread serega
Hi. I can easily create a route using Java DSL of the form from("foo").loadBalance().to("bar").("bla"), which is perfect for static routes. How can I do the same but without DSL. Something like CamelContext context = new DefaultCamelContext();. LoadBalancer balancer = new RoundRobinLoadBalancer()

Issue with camel-dozer

2010-12-22 Thread karafman
Gents, Using Camel 2.5.0, I've noticed a problem with the mvn:net.sf.dozer/dozer-osgi/5.3.0, it currently imports all of its exported bundles. Normally, this wouldn't be a problem, but it imports org.dozer, causing the following error: Error executing command: Could not start bundle mvn:net.sf.

Re: Extracting request IP in Camel CXF

2010-12-22 Thread goels...@yahoo.com
I'm using camel-core-2.5.0 and camel-cxf-2.5.0 which AFAIK is the latest version. I was reading through another http://stackoverflow.com/questions/3480334/camel-cxfrs-with-custom-http-headers post on Stack Overflow where someone had trouble getting to custom headers. As per the post, that was a

Re: Extracting request IP in Camel CXF

2010-12-22 Thread Willem Jiang
Which version of Camel are you using ? On 12/22/10 8:11 AM, goels...@yahoo.com wrote: Thanks for the response Ashwin, but I am unable to find the "HTTP.REQUEST" header in the exchange object. My process() method is as follows: public void process (Exchange exchange) { Map headers = exch

Re: long-running requests over jms

2010-12-22 Thread Willem Jiang
If the producer side only support sync invocation, it will block the thread which could be a part of jms consumer thread pool. I just checked the code of JMS prodource doesn't block the thread to wait for the response, so you will not face the issue that I had told with the jms enpdoints. Wi

Re: Camel Tracing Route status

2010-12-22 Thread haykz
Thanks, that really helped -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Tracing-Route-status-tp3315011p3315042.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Tracing Route status

2010-12-22 Thread Claus Straube
Hi, eventually you can use http://camel.apache.org/wire-tap.html Best regards - Claus On 22.12.2010 14:19, haykz wrote: Hi everyone, I am new to the Camel and dealing with such a problem. I need tracer of route, but specifically. I need such a camel component which could provide me information

Camel Tracing Route status

2010-12-22 Thread haykz
Hi everyone, I am new to the Camel and dealing with such a problem. I need tracer of route, but specifically. I need such a camel component which could provide me information whether during some period – message has passed through one route or not. Requirement is that I need to write down log (f

Re: Extracting request IP in Camel CXF

2010-12-22 Thread Ashwin Karpe
Hi, Can you please provide details of the version of camel-cxf you are using and some details about the environment (aka Tomcat, standalone, app-server etc). I verified that the code does exist for the headers to be propagated in the camel-cxf trunk just as I mentioned it. Cheers, Ashwin...

Re: long-running requests over jms

2010-12-22 Thread Ashwin Karpe
Hi Jim, Long running requests can be challenging and I am not sure that depending on JMS or any other protocol is the way to go. The typical standard way to handle these situations is to use callback handler sent along with a one-way request so that the server can role-reverse to client and sent

FTP over Proxy

2010-12-22 Thread Michael Prieß
Hi, im using the camel ftp component. 2.5 and have tried to open a connection to a remote ftp server via the proxy, but this doesn't work.I need to configure a u...@server proxy connection and im not sure if i can resolve my problem with the apache commons ftp server. I tried to start my java app