Re: How can I call a web service with no parameters via a producerTemplate?

2014-01-06 Thread Willem.Jiang
You set a wrong url, please remove the option of dataFormat=MESSAGE because you just invocation the web service with a string instead of SOAP message output stream. -- View this message in context: http://camel.465427.n5.nabble.com/How-can-I-call-a-web-service-with-no-parameters-via-a-producerT

Re: How can I call a web service with no parameters via a producerTemplate?

2014-01-06 Thread viral.patel69
If i remove that part then it will give me error " Service class not found" So what to do. -- View this message in context: http://camel.465427.n5.nabble.com/How-can-I-call-a-web-service-with-no-parameters-via-a-producerTemplate-tp4806257p5745619.html Sent from the Camel - Users mailing list a

Camel cxf with basic authentication

2014-01-06 Thread Akshat Tandon
Hi All, I'm new to Apache Camel and CXF, I'm trying to create a route for querying a remote WS which requires Basic Authentication and to specify the SoapAction header. I was able to achieve the same using camel http component but i needed the same with camel cxf in java dsl . Example the samp

Re: Need for XA?

2014-01-06 Thread Krzysztof Sobkowiak
Hi Which page do you mean? Krzysztof On 05.01.2014 07:28, kraythe . wrote: the camel page on transactions shows you how to do an XA transaction manager. :) *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://w

Re: multicast aggregation

2014-01-06 Thread Minh Tran
I am using 2.12.2. On 06/01/2014, at 6:42 PM, Claus Ibsen wrote: > What version of Camel do you use? > > On Mon, Jan 6, 2014 at 12:03 AM, Minh Tran wrote: >> Hi all >> >> I'm currently using multicast in my route with an aggregation strategy and >> I'm finding that if my multicast only has o

StackTraceElement using heap.

2014-01-06 Thread tkvarenes
Hi. I have an application using Camel that seems to over time builds up heap space until it starts using 100%CPU time on a windows server. The problem occures when there is a connection exception in an outbound endpoint. I have a retry each second, and when this continues for several days, the hea

Re: StackTraceElement using heap.

2014-01-06 Thread Claus Ibsen
Hi What Camel version do you use? And do you have some more details about those long stacktrace elements? On Mon, Jan 6, 2014 at 1:07 PM, tkvarenes wrote: > Hi. > > I have an application using Camel that seems to over time builds up heap > space until it starts using 100%CPU time on a windows

Re: Extract values from header in xpath in Spring DSL

2014-01-06 Thread Richard Kettelerij
If i understand it correctly you're asking a question about XPath not about Camel (sure you're using Camel but the question is about XPath). I think a site like StackOverflow might be a better place to ask this question. Also ALWAYS post the exact error message along with your question. On Mon, J

Re: Need for XA?

2014-01-06 Thread Larry Meadors
OK, thanks - that is how our system was configured, so it was right - I was just having second thoughts. :) On Sat, Jan 4, 2014 at 2:04 PM, Pontus Ullgren wrote: > It all depends on your requirements and how your database and the > system consuming from the second queue is designed. > > If the wr

Re: Can I write a route that reads an arbitrary database table and stores it in a file?

2014-01-06 Thread Lothar Werzinger
I was afraid that I might have to implement that as Java code in a processor. I was hoping for some kind of dynamic route building that would allow me to use the jdbc or sql component. Thanks anyway On Fri, Jan 3, 2014 at 5:46 PM, James Carman wrote: > It's possible, but probably not advisable.

Re: StackTraceElement using heap.

2014-01-06 Thread tkvarenes
Hi, I use camel 2.11.1 It's not that the stack traces elements are any longer than usual, but I would expect them not to be referenced any more so the GC could remove them, but to me it seems like something is still holding a refence to them since they show up on the heap dump. I get a lot of t

Re: Extract values from header in xpath in Spring DSL

2014-01-06 Thread Satyam Maloo
I found out the option for the same: $TEST/@category= 'CHILDREN' - Satyam A Maloo -- View this message in context: http://camel.465427.n5.nabble.com/Extract-values-from-header-in-xpath-in-Spring-DSL-tp5745599p5745630.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Can I write a route that reads an arbitrary database table and stores it in a file?

2014-01-06 Thread James Carman
Yeah, I don't think the SQL component will work for you, since it requires a DataSource object up front. Perhaps you can borrow from it? That would be overkill IMHO, though On Mon, Jan 6, 2014 at 9:22 AM, Lothar Werzinger wrote: > I was afraid that I might have to implement that as Java code i

Re: Camel RemoteFilePollingConsumerPollStrategy and retry

2014-01-06 Thread geppo
yes -- View this message in context: http://camel.465427.n5.nabble.com/Camel-RemoteFilePollingConsumerPollStrategy-and-retry-tp5745503p5745634.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Need for XA?

2014-01-06 Thread Henryk Konsek
> If the write operation to the database and the system consuming from > the second queue is idempotent, ie they can both gracefully handle > that the same message is processed twice. Then you can think about > skipping XA. 100% true. Keep also in mind that even if the DB service itself is not id

Re: Need for XA?

2014-01-06 Thread Henryk Konsek
Krzysztof said: > Are there any samples how to develop such requirement with camel? You mean XA or non-XA processing? Maybe I could find something for you :) . -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel Message Attachment order

2014-01-06 Thread rdehuyss
Hi Claus, Jira CAMEL-7109 with patch attached was created. Kind regards, R On Sun, Jan 5, 2014 at 1:16 PM, Claus Ibsen-2 [via Camel] < ml-node+s465427n5745564...@n5.nabble.com> wrote: > Hi > > Yeah well spotted, a good idea to use a linked so the order is preserved. > > Not sure if the attachm

Re: Need for XA?

2014-01-06 Thread Krzysztof Sobkowiak
Hi I meant XA processing Krzysztof On 06.01.2014 22:32, Henryk Konsek wrote: Krzysztof said: Are there any samples how to develop such requirement with camel? You mean XA or non-XA processing? Maybe I could find something for you :) . -- Krzysztof Sobkowiak JEE & OSS Architect | Technic

Re: Can I write a route that reads an arbitrary database table and stores it in a file?

2014-01-06 Thread Henryk Konsek
Hi Lothar, > I was hoping for some kind of dynamic route building that would allow me to > use the jdbc or sql component. In general dynamic endpoint specification can be achieved via Recipient List [1] EIP. You can use singleton list to create "dynamic" endpoint. The problem is that both SQL [2

Re: Camel cxf with basic authentication

2014-01-06 Thread Willem Jiang
You can add below lines into the spring configuration file http://cxf.apache.org/configuration/security";   xmlns="http://cxf.apache.org/transports/http/configuration";>        myuser      mypasswd      Basic   -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjian

ActiveMQ processing

2014-01-06 Thread jamalissimo
Hello guys, I am quite new to whole activeMQ thing, but here is the thing. I have this route which works ok, but my problem is that I have to wait till "activemq:queue:users.add" route ends and then get result. I want it to work in background. I simply need to send request to add user and immediate