Re: Cannot change directory to: ". Code: 550 on FTP component

2013-06-24 Thread Claus Ibsen
Hi There is a bug in commons-net 3.2. You can downgrade to 3.1 or try the new 3.3. release. On Sun, Jun 23, 2013 at 9:02 PM, lassesvestergaard wrote: > Hi all. > > My first post here. > > I have been trying to learn Apache camel for a while now, and I think I get > the basics. Currently I'm work

Re: Sticky load balancer and failover support

2013-06-24 Thread DavideC
Hi Claus, thnaks for the suggestion. I'm trying to follow your advice and I came out with the following: But it seems that it is ignoring the "mySticky.process(exchange, callback);" and performing only "super.process(exchange, callback);". Does this approach make sense or am I completely on a w

Re: Dynamic uri not working

2013-06-24 Thread sprabu
Hi, Though i'm using the provided uri, its not getting the values from header. I don't know, why? Please help me to come out of it. Its highly impacting the progress of my task. Also validate the given URI, where i'm doing mistake?? Thanks Prabu -- View this message in context: http://camel

RE: Dynamic uri not working

2013-06-24 Thread Diether
Have you looked at the link Claus send? http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html You cannot use dynamic uri in a . You have to us reciepientlist for it. Van: sprabu [via Camel] [ml-node+s465427n5734623...@n5.nabble.com] Verzonden: maandag 24 jun

Best practice for paralell execution of xa transacted routes

2013-06-24 Thread Maurice
A perfect question for a Monday: i have a amq queue with a message which contains instructions to execute specified modules as one unit of work. These modules may or may not use other datasources besides jms requireing a local or global (xa) transaction context. If a module requires the global tran

Re: Dynamic uri not working

2013-06-24 Thread Christian Müller
Hello Prabu! To make it clear, it's not designed to work in the way you use it. To fulfill your requirement, you should use it in the way described at http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html Best, Christian - Software Integration Specialist Apache Camel commi

Re: camel - Activemq performance suggestions

2013-06-24 Thread kiranreddykasa
Hi , By using the following property 'useAsyncSend' activemq performance has been improved. - Regards kiran Reddy -- View this message in context: http://camel.465427.n5.nabble.com/camel-Activemq-performance-suggestions-tp5734508p5734637.html Sent from the Camel - Users mailing list ar

Re: endDoTry

2013-06-24 Thread cgiera
Hello, I have found out that we have used patched version of 2.6.0: was added to the ProcessorDefinition-class. In camel 2.11.0 it looks slightly different: and in the end() method there are some comments regarding doTry/doCatch: Somehow it is not properly working I think. kind regards, Chri

Re: endDoTry

2013-06-24 Thread cgiera
Ok, I see that the code of 2.11.0 also just returns "this", so it would be the similar value as in our 2.6.0 version. So is there a change in the behaviour of doTry/doCatch/doFinally in an onException block? kind regards, Christoph -- View this message in context: http://camel.465427.n5.nabbl

Re: endDoTry

2013-06-24 Thread cgiera
My last post is nonsense, I have looked at the wrong object. When I change the endDoTry() to it is working again. I'm not sure if I should apply a patch for this, pls let me know if so. kind regards, Christoph -- View this message in context: http://camel.465427.n5.nabble.com/endDoTry-tp57

JMS component performance issue with IBMMQ

2013-06-24 Thread Mohammad Shadab Ali
Hi, I am facing a performance issue with JMS component when configured to IBMMQ. I have a camel route JMS(ActiveMQ) to JMS(IBMMQ). The processing rate of JMS(ActiveMQ) is around 300messages/sec, but JMS(IBMMQ) is processing with just 35messages/sec. We receives around 4 messages per day and

Problem in getting failure end point details in camel

2013-06-24 Thread loganathan
I have route like this onException(Exception.class).process(new MyProcessor()); if (true) { from("route") .routeId("key") .transacted() .to(route1); } from("ro

Re: Regarding came route id

2013-06-24 Thread indrayani
thank you for the explanation, even i was thinking on the same lines, like i can use the routeid -- View this message in context: http://camel.465427.n5.nabble.com/using-came-route-id-in-servlet-call-tp5734531p5734657.html Sent from the Camel - Users mailing list archive at Nabble.com.

using to read header

2013-06-24 Thread indrayani
Hi all, my camel route is defined as follows : http://camel.apache.org/schema/spring";> in the testdata method, i am accessing the body as follows public static void testData(String body) {

Referencing OSGi services with RouteBuilder classes for use in CamelContext

2013-06-24 Thread Martin Stiborský
Hello guys, I'd like to ask first if I'm wrong or not... I have a bundle, where is defined CamelContext in blueprint XML. In this XML, I'd like to reference services from n other bundles, which exposes services with routes - RouteBuilder class(es). How should be the route class for the bundles exp

Re: Camel Integration Advice Needed

2013-06-24 Thread jpbarto
Final Solution: I think I've found the solution I was looking for in the form of the XML 'routes' tag as mentioned previously. In addition to the traditional camel-context.xml I've also created two additional XML files (subscribe-template.xml and publish-template.xml). An example follows: ht

New to camel - errors when deploying camel/examples

2013-06-24 Thread zaphodX
Just started with Camel yesterday and am trying out various examples given in the camel download. It has been frustrating so far that I can't get to first step of being able to deploy basic examples. Any help would be greatly appreciated. I started with camel-example-cxf-tomcat. Here are my vers

Re: New to camel - errors when deploying camel/examples

2013-06-24 Thread zaphodX
Sorry for the spam. I forgot to include the CXF install details for additional info. cxf-2.7.5 my catalina.properties has this: common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,/home/ubuntu/development/camel-2.11.0/lib/*.jar,/home/ubunt

JMS(XA) component with a maxConcurrentConsumers value > 1

2013-06-24 Thread Maurice
I am using the config for jms xa transactions from the following website: https://access.redhat.com/site/documentation/en-US/Fuse_ESB_Enterprise/7.1/html/EIP_Transaction_Guide/files/XaJms-Sample.html

Re: using to read header

2013-06-24 Thread Claus Ibsen
Hi Yeah you can access the headers as well in the testData method. Read about bean parameter binding http://camel.apache.org/bean-binding.html http://camel.apache.org/parameter-binding-annotations.html http://camel.apache.org/bean On Mon, Jun 24, 2013 at 1:53 PM, indrayani wrote: > Hi all, > my

Re: Sticky load balancer and failover support

2013-06-24 Thread Claus Ibsen
Hi Ah yeah failover load balancer uses getProcessors() to get the list to use. I guess we should maybe allow this to be a bit more dynamic in the sense so you can extend the failover load balancer, and choose the processor to use each time. So you can use the sticky correlation to pick the same. A

Re: Sticky load balancer and failover support

2013-06-24 Thread Claus Ibsen
Hi Logged a ticket to not forget about this https://issues.apache.org/jira/browse/CAMEL-6484 On Mon, Jun 24, 2013 at 4:28 PM, Claus Ibsen wrote: > Hi > > Ah yeah failover load balancer uses getProcessors() to get the list to > use. I guess we should maybe allow this to be a bit more dynamic in >

Re: Problem in getting failure end point details in camel

2013-06-24 Thread Claus Ibsen
Hi exchange.getProperty(exchange.FAILURE_ENDPOINT, String.class) Is like chicken-and-egg. This property is the last endpoint used that failed. What you have is NOT an endpoint but an invalid uri for an endpoint. So NO endpoints is created and in use. You would need to grab the uri from the except

Re: JMS component performance issue with IBMMQ

2013-06-24 Thread Christian Müller
You should share your configuration if you want help... Best, Christian Sent from a mobile device Am 24.06.2013 13:50 schrieb "Mohammad Shadab Ali" : > Hi, > > I am facing a performance issue with JMS component when configured to > IBMMQ. I have a camel route JMS(ActiveMQ) to JMS(IBMMQ). The pro

Re: Cannot change directory to: ". Code: 550 on FTP component

2013-06-24 Thread Bengt Rodehav
This looks very much like CAMEL-6309 ( https://issues.apache.org/jira/browse/CAMEL-6309). I think it might affect ftp/ftps in addition to sftp (which was my problem). If it's the same problem then you can't use subdirectories in you URI if the ftp home directory (where you end up after login) is "

Re: JMS(XA) component with a maxConcurrentConsumers value > 1

2013-06-24 Thread Maurice
After some diggin in the spring docs i came up with a replacement for the jcaPooledConnectionFactory that should support consumer pooling: Springs CachingConnectionFactory. There are some restrictions, see http://tmielke.blogspot.de/2012/03/camel-jms-with-transactions-lessons.html

Re: Cannot change directory to: ". Code: 550 on FTP component

2013-06-24 Thread lassesvestergaard
Hi all. I managed to get it working by upgrading to commons-net 3.3 (thanks). I didn't know how to do this in Maven, but it seems that you just make a specific dependency for commons-net in your POM, and then the implicit commons-net dependency disappears. I don't know if this also go for making a

Jackson/JSON unmarshall

2013-06-24 Thread Mike Oxford
Hi all. Given that you can use Jackson to unmarshall to "unmarshalTypeName=" (which works for a 1:1 mapping) how does one go about "dynamically unmarshalling" a JSON document to "N-possible classes?" eg, full protocol work, based on a piece of the JSON itself. I can build something using the java

Camel related job

2013-06-24 Thread Martin Stiborský
Hello guys, how it's with jobs related to integration projects with Apache Camel? Do you know some opportunities? I haven't searched too much on web so far, so I have to say I don't know much, I'd like to hear your experience, as here is quite a nice and skilled sort of people. I'm thinking about