Re: Camel gui based route build questions..

2011-01-06 Thread sumit.singh
Thanks for the replay, we already have a product that needs this urgently so we quickly came up with something and it is part of our framework. please take a look at : http://www.slideshare.net/sumising/caerusone-6453808 We have a good version ready as part of framework and want to go opensourc

Re: Routing to a Servlet

2011-01-06 Thread Willem Jiang
I'm afraid you have to do it yourself with a customer processor or bean. On 1/7/11 8:59 AM, Kazi, Iftekhar wrote: Any help on how to do that using Spring xml or pointers. The help would be appreciated. Thanks -Original Message- From: Willem Jiang [mailto:willem.ji...@gmail.com] Sent: T

RE: Routing to a Servlet

2011-01-06 Thread Kazi, Iftekhar
Any help on how to do that using Spring xml or pointers. The help would be appreciated. Thanks -Original Message- From: Willem Jiang [mailto:willem.ji...@gmail.com] Sent: Thursday, January 06, 2011 7:54 PM To: users@camel.apache.org Subject: Re: Routing to a Servlet Woo, in this case yo

Re: Routing to a Servlet

2011-01-06 Thread Willem Jiang
Woo, in this case you need build up form post request before sending it to servlet. On 1/7/11 8:39 AM, Kazi, Iftekhar wrote: The Servlet Exists and when accessed comes up with an html form with a submit button. However, using the route below lends an error. POST http://tlsomnnsts

RE: Routing to a Servlet

2011-01-06 Thread Kazi, Iftekhar
The Servlet Exists and when accessed comes up with an html form with a submit button. However, using the route below lends an error. POST http://tlsomnnstst01:8080/servletsample"; /> > http://localhost:8080/myApp/ServletSample"; /> -Original Message- From: Willem Jiang [ma

Re: Routing to a Servlet

2011-01-06 Thread Willem Jiang
On 1/7/11 8:23 AM, Kazi, Iftekhar wrote: Is it possible to post a payload to a existing Servlet on another server using Camel ? Eg. http://localhost:8080/myApp/ServletSample"; /> Where http://localhost:8080/myApp/ServletSample is an existing Servlet ? Thanks Absolutely yes. camel-http

Routing to a Servlet

2011-01-06 Thread Kazi, Iftekhar
Is it possible to post a payload to a existing Servlet on another server using Camel ? Eg. http://localhost:8080/myApp/ServletSample"; /> Where http://localhost:8080/myApp/ServletSample is an existing Servlet ? Thanks

Re: SFTP Component and consumer.regexPattern parameter throws error. [Resolved]

2011-01-06 Thread magillus
Silly me, I was looking at FTP and File types in documentation while I should look at FTP2 and File2 I am using latest Camel version. Thanks, Magillus -- View this message in context: http://camel.465427.n5.nabble.com/SFTP-Component-and-consumer-regexPattern-parameter-throws-error-tp3331013p3

Re: XML parse error

2011-01-06 Thread Mark Ford
Are you using XSLT 2.0? If so, you should verify that you have an XSLT 2.0 capable library in your classpath. Perhaps when you're using the endpoint within JBI there is a 2.0 capable API in the classpath. If you're using Maven, then add the following: net.sourceforge.saxon

Re: SFTP Component and consumer.regexPattern parameter throws error.

2011-01-06 Thread magillus
Additionally to regexPattern I have issue with other parameter. "Unknown consumer parameters=[{moveNamePrefix=done/}]" Regards, Magillus -- View this message in context: http://camel.465427.n5.nabble.com/SFTP-Component-and-consumer-regexPattern-parameter-throws-error-tp3331013p3331040.html Sen

SFTP Component and consumer.regexPattern parameter throws error.

2011-01-06 Thread magillus
Hello, I am trying to use SFTPComponent in Camel with filtering files by regexPattern however on startup of application I got error with stacktrace below. Anyone used SFTPComponent with regexPattern filter? Is it bug or I do something wrong. I couldn't find answer and I looked at source code for t

Re: AMQ Component with embedded broker - problem on war redeploy: javax.jms.JMSException: Could not create Transport. Reason: javax.management.InstanceAlreadyExistsException

2011-01-06 Thread Claus Ibsen
On Thu, Jan 6, 2011 at 6:04 PM, Marco Zapletal wrote: > I wasn't sure whether this is related to AMQ itself or to the Camel > component implementation. Anyway, I upgraded AMQ from 5.2.0 to 5.4.1 and the > problem seems to be gone. > Great. Yeah I would suggest to test using never versions to see

Re: AMQ Component with embedded broker - problem on war redeploy: javax.jms.JMSException: Could not create Transport. Reason: javax.management.InstanceAlreadyExistsException

2011-01-06 Thread Marco Zapletal
I wasn't sure whether this is related to AMQ itself or to the Camel component implementation. Anyway, I upgraded AMQ from 5.2.0 to 5.4.1 and the problem seems to be gone. regards, marco On 06.01.2011 17:01, Claus Ibsen wrote: This is a question for the ActiveMQ user mailing list. It looks l

Re: camel file :getName of file

2011-01-06 Thread v.de...@gmail.com
Here is the solution : from("file://entree?delete=true") .process(new Processor() { public void process(Exchange exchange) throws Exception { Map a= exchange.getIn().getHeaders(); String namefile = (String)a.get("camelfilenameonly");

Re: AMQ Component with embedded broker - problem on war redeploy: javax.jms.JMSException: Could not create Transport. Reason: javax.management.InstanceAlreadyExistsException

2011-01-06 Thread Claus Ibsen
This is a question for the ActiveMQ user mailing list. It looks like when you hot-deploy the JMX Mbeans are not unregistered and thus you hit a problem when AMQ tries to register a MBean when it starts up, and there old MBean is still there. On Thu, Jan 6, 2011 at 3:51 PM, Marco Zapletal wrote:

AMQ Component with embedded broker - problem on war redeploy: javax.jms.JMSException: Could not create Transport. Reason: javax.management.InstanceAlreadyExistsException

2011-01-06 Thread Marco Zapletal
Hello, I am using the ActiveMQ Component on my routes with an embedded broker. When re-deploying my app, I am always getting an InstanceAlreadyExistsException, since the broker of the prior deployment seems to be still existing (exception is posted below). In my Spring configuration for the A

XML parse error

2011-01-06 Thread Kovacs Zsolt
Hi, I have a camel endpoint .to("xslt:xslt/transformer.xsl") and in the transformer.xml file I try to use but deployment failed and get the "Error creating XSLT template. This is most likely be caused by a XML parse error. Please verify your XSLT file configured." message. I guess the pro