users@camel.apache.org

2013-12-05 Thread Claus Ibsen
Hi Yeah that is a little bug. Feel free to log a JIRA ticket. On Wed, Dec 4, 2013 at 5:59 PM, Marco Crivellaro wrote: > Hi, > there is an issue with handling password with double && even when wrapping > it into RAW() constraint > > For instance the use of URI > > http://hostname/script.php?authM

Re: Passing multiple parameters to CXF endpoint

2013-12-05 Thread Willem Jiang
Hi, You need set up the defaultOperationName option in the url if you don’t set the OperationName header on the message. --  Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English)           http://jnn.iteye.com (Chinese) Twitter: willemjiang  Weibo:

Re: Passing multiple parameters to CXF endpoint

2013-12-05 Thread trilochan237
Hi, I tried with that attribute too, but the error is same to("cxf://http://10.103.91.55:/FinEdge-General/xrmServices/2011/Organization.svc?serviceClass=com.hcl.flsl.integration.msdn.crmwcf.IOrganizationService&defaultOperationName=Retrieve";) -- View this message in context: http://camel

[bug:sql] SQL Component cannot change SQL_ROW_COUNT header value

2013-12-05 Thread kuro
Hi If SQL_ROW_COUNT header is already set, SQL Component cannot change SQL_ROW_COUNT header value. from("direct:test") .setHeader(SqlConstants.SQL_ROW_COUNT).constant(10) .to("sql:SELECT * FROM user WHERE FALSE") .filter(header(SqlConstants.SQL_ROW_COUNT).isEqualTo(10)) .to("log:NG");

Re: ZeroMQ publishing infinte number of times

2013-12-05 Thread talk2patel86
ZeroMQ is publishing the same message infinite times because of below mentioned statement. return "zeromq:tcp://0.0.0.0:5577?socketType=PUBLISH&topics=iotm/stream"; dynamic router will keep repeating until you return null.

Re: ZeroMQ publishing infinte number of times

2013-12-05 Thread Claus Ibsen
Yes And see this FAQ http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html On Thu, Dec 5, 2013 at 9:45 AM, talk2patel86 wrote: > ZeroMQ is publishing the same message infinite times because of below > mentioned statement. > > return "zeromq:tcp://0.0.0.0:5577?socketType=PUBLISH&topics=iot

Camel ftp directory creation

2013-12-05 Thread Bharath
Hi, Why camel is not creating directories in ftp servers when it is given in "from" endpoint Ex: from(sftp://abc/input).to(file://mnt/output) Here when we use file component in from endpoint it is creating folders where as when we use sftp or ftp components in from endpoint it is

Re: Camel ftp directory creation

2013-12-05 Thread Claus Ibsen
The starting directory on the ftp component must exists. Camel does not auto create that starting directory when using ftp. Its by design. On Thu, Dec 5, 2013 at 10:46 AM, Bharath wrote: > Hi, > > Why camel is not creating directories in ftp servers when it is given in > "from" endpoint > >

ReplyTo Queue is not getting cleared

2013-12-05 Thread Malathi G
Hi, I am transferring message from one queue to another queue and getting response from ReplyTo queue but after reading message from ReplyTo queue, messages are not getting cleared in ReplyTo queue of weblogic. I am using Weblogic queue. Please help me to correct this issue. *camel code:*

XSLT transformation for both request & reply

2013-12-05 Thread madusanka
Hi, Is there a way I can use two different xslt files for the request & reply? One xslt transformation for the request & another xslt transformation for the reply. If so what is the spring configuration? -- View this message in context: http://camel.465427.n5.nabble.com/XSLT-transformation-for

Re: [bug:sql] SQL Component cannot change SQL_ROW_COUNT header value

2013-12-05 Thread Dharmendra Patel
Hi There, I think it is a bug. in org.apache.camel.component.sql.SqlProducer class code highlighted in red(line no 120) could be shifted to line no 92(highlighted in green). else { boolean isResultSet = ps.execute(); if (isResultSet) { * // preserve headers

Re: XSLT transformation for both request & reply

2013-12-05 Thread Claus Ibsen
The camel routes uses the pipes and filters eip So basically just do from x to xslt a to somewhere to xlst b eg when the route ends that message is used as reply in from x On Thu, Dec 5, 2013 at 12:03 PM, madusanka wrote: > Hi, > > Is there a way I can use two different xslt files f

CXFTRansport-Http Exception

2013-12-05 Thread trilochan237
Hi, I am trying to call the webservice which is running on a remote machine using CXF endpoint, but when i am sending the parameters to the service I am getting the following exception *HTTP response '415: Cannot process the message because the content type 'text/xml; charset=UTF-8' was not the e

error handling design pattern advice

2013-12-05 Thread richie.rivi...@gmail.com
Hi All, I've got a question about error handling. Here is my scenario... I have a route which calls a bean.. from(...JPA...) .errorHandler(deadLetterChannel("log:dead") .maximumRedeliveries(5) .retryAttemptedLogLevel(LoggingLevel.ERROR)) .to("bean:serviceBean?method=login") .to("bean:serviceBean

Execute route at specific time

2013-12-05 Thread Ankur
I want to execute camel route at specific time. for example : route must run at 18:00 hrs EST Right now i'm using timer object but with that it is running after certain period which i have defined. Is there any way to execute route at any specific time. -- View this message in context: http:

Re: Execute route at specific time

2013-12-05 Thread Charles Moulliard
We have a route policy (allowing to stop/start routes) at specific time defined according to Quartz (http://camel.apache.org/quartz.html) --> http://camel.apache.org/cronscheduledroutepolicy.html On Thu, Dec 5, 2013 at 12:56 PM, Ankur wrote: > I want to execute camel route at specific time. > fo

Re: ZeroMQ publishing infinte number of times

2013-12-05 Thread harikrish07121991
Thanks guys .. for the help .. got it .. -- View this message in context: http://camel.465427.n5.nabble.com/ZeroMQ-publishing-infinte-number-of-times-tp5744307p5744367.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Spring AMQP Apache Camel Component Released

2013-12-05 Thread deckerego
The component is in active production use with several companies right now. One caveat is that acknowledgeMode is by default set to NONE - I think you would want it set to AUTO in most environments. Other than that, I believe it's good to go. -- View this message in context: http://camel.465427

camel-rabbitmq

2013-12-05 Thread muthukumara...@gmail.com
Hi I am using Camel 2.12.1 and Rabbitmq 3.2.1 I have defined the following route in my spring config and every time I send a message to "general.topic" I would expect the message would end up in "scheduler.queue" But this doesn't happen it puts the message back to "general.queue" in a loop. I se

Re: camel-rabbitmq

2013-12-05 Thread Willem Jiang
You need to remove the message header which is start with “rabbitmq.” just like this   --  Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English)           http://jnn.iteye.com (Chinese) Twitter: willemjiang  Weibo: 姜宁willem On December 5, 2013 a

Re: Spring AMQP Apache Camel Component Released

2013-12-05 Thread muthukumara...@gmail.com
Hi, Thanks for the quick response. Initially I tried my samples with camel-spring-amqp-1.2 but while trying to add "acknowledgeMode=AUTO" I learned that its supported only in 1.6.2. After upgrading to 1.6.2 every thing works fine and I can see that the messages are routed fine too, but in the log

Re: camel-rabbitmq

2013-12-05 Thread muthukumara...@gmail.com
Thanks Willem for the quick response. Your suggestion resolved my issue. Can you please explain why this issue happened and how this fixed it? Thanks, Muthu -- View this message in context: http://camel.465427.n5.nabble.com/camel-rabbitmq-routing-issue-tp5744371p5744374.html Sent from the Cam

Camel CXF in payload mode - received message does not contain body element

2013-12-05 Thread krzysztof
Hi, I have problem with camel cxf in payload mode. CxfPayload object does not contain SOAP body element. I am using camel 2.11.0. I have defined cxf endpoint like this - https://a.org/ws"; loggingFeatureEnabled="true">

Email Alerts Upon FTP Failure

2013-12-05 Thread funkymonk
Hello - I am brand new to Camel and I've got a handful of very basic blueprint routes up and running. Some of my FTP routes are critical and I'd like to receive an email alert if the FTP transmission fails. Is there a way to do this using the basic blueprint? Any information would be greatly a

Re: java.lang.ArrayIndexOutOfBoundsException when receiving from JMS

2013-12-05 Thread MichaelAtSAG
Hi Christian, Camel version: Camel-core 2.12 Camel-jms 2.12 The exception is sporadic, meaning about every 2 out of 10 JMS messages report this exception. I think the exception code I have written is not doing anything to the routing. The behavior and expection reporting is the same with or wit

Batch Timeout Question

2013-12-05 Thread kraythe .
Been looking all over the docs for this. If I have an aggregator with a batch timeout of 1000 mills and I am running a batch of 5000 records that takes 15 minutes, the question is would the batch timeout start after the first record received and batch records in 1 second intervals or would it wait

File aggregation and transaction.

2013-12-05 Thread kraythe .
I have a route that I will past below. The route is transacted and I want it to read off a queue and then batch the records into a file. However, if someone murders the server with kill -9 prior to the file being written, I would like all of those records to end up back in the queue to be processed

Re: camel-rabbitmq

2013-12-05 Thread Willem Jiang
In camel we have a rule that message header can override the setting of endpoint. When consumer receives the message, it puts some headers which key is start with “rabbitmq.”. As the producer always prefer the message header setting over the endpoint setting, the producer sends the message to g

Re: Camel CXF in payload mode - received message does not contain body element

2013-12-05 Thread Willem Jiang
As your service class uses the Provider API, you can get the soap message body with POJO data format. I don’t suggest you use the PAYLOAD data format this time. --  Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English)           http://jnn.iteye.com

Re: Batch Timeout Question

2013-12-05 Thread Taariq Levack
You can choose which behavior you need, there's completionTimeout and completionInterval. Taariq > On 06 Dec 2013, at 3:33, "kraythe ." wrote: > > Been looking all over the docs for this. If I have an aggregator with a > batch timeout of 1000 mills and I am running a batch of 5000 records that

Re: Batch Timeout Question

2013-12-05 Thread Taariq Levack
I meant to add the link[1] to the docs about those options, perhaps you were looking at the old aggregator which talks about batch timeout. [1] http://camel.apache.org/aggregator2.html Taariq On Fri, Dec 6, 2013 at 5:34 AM, Taariq Levack wrote: > You can choose which behavior you need, there's

Re: Passing multiple parameters to CXF endpoint

2013-12-05 Thread trilochan237
Hi Willem, I am facing with different kind of error as i am passing an object array in the body. Please suggest me in solving the below error. * org.apache.cxf.transport.http.HTTPException: HTTP response '415: Cannot process the message because the content type 'text/xml; charset=UTF-8' was not