Re: synchronizing multiple processes in a camel route

2015-04-21 Thread Henryk Konsek
Hi, Until you explicitly define the message flow as parallel (using for example Threads DSL [1]) the processing will be sequential. So you don't have to do anything to achieve what you want :) . Laters! [1] http://camel.apache.org/async.html pon., 20.04.2015 o 19:24 użytkownik Morgan Hautman n

Re: HTTP operation failed invoking statusCode: 500

2015-04-21 Thread Willem Jiang
If you change the data format of the cxf endpoint, you can not just redirect the input stream to a http endpoint, as the PAYLOAD message doesn’t has the soap envelope. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: Closed (removed) StreamCache when doing a Wiretap

2015-04-21 Thread Franz Paul Forsthofer
Hello Geert, there is no solution yet for your problem. Currently the stream cache file is removed at the end of the route which created the file. In your case the stream cache file is deleted when the "direct:start" route is finished. The wire tap runs in a separate thread and therefore it can ha

Re: Closed (removed) StreamCache when doing a Wiretap

2015-04-21 Thread Geert Vanheusden
Hi Franz, is this something that will be fixed in an upcoming release? Is it a bug or does it work as designed? Can we use a workaround to avoid this behaviour, for example by not deleting the temp files? Kind regards, Geert On Tue, Apr 21, 2015 at 10:37 AM, Franz Paul Forsthofer < emc2...@goo

Re: HTTP operation failed invoking statusCode: 500

2015-04-21 Thread ercan.canlier
Hi Jiang, First of all, thanks for your interest. Could you please give me some hints about it? How can i show only soap body also at response? Or how should i redirect the request with PAYLOAD mode? Thanks. Ercan -- View this message in context: http://camel.465427.n5.nabble.com/HTTP-operation

Re: Bug detected while storing file with name as exportorder_191111#500#10:12:23

2015-04-21 Thread gunjansharma18
Thanks a lot Claus for clarifying this critical detail, but since we know there are certain pattern in filename that windows don't support like "? :" etc will it not be a good idea to for camel to check the operating system and throw a warning to the user, Cannot store file due to incorrect file n

RE: Getting list of contexts or getting context by name

2015-04-21 Thread Gustav Sinder
Hi, Correct, it's Camel Context I was thinking of. Thanks, I was suspecting that the context is only aware of itself and others created from it. I'll stick with the same Context for the dynamic ones. Regards /Gustav -Original Message- From: Willem Jiang [mailto:willem.ji...@gmail.com]

Re: Is it possible for file component to NOT to move the file to .camel directory if there is error in the following endpoint of that route.

2015-04-21 Thread pushkin1984
This information helps a lot. Thank you :) -- View this message in context: http://camel.465427.n5.nabble.com/Is-it-possible-for-file-component-to-NOT-to-move-the-file-to-camel-directory-if-there-is-error-in-th-tp5717797p5766098.html Sent from the Camel - Users mailing list archive at Nabble.co

Reading a file using camel stream component

2015-04-21 Thread Akram
Hi, I am reading a file using the stream camel component. But the problem is when file gets rolled out then camel is not reading the newly generated file with the same name. from("stream:file?fileName=myfile&scanStream=true&scanStreamDelay=1000") The above route will read the current file "my

Re: Closed (removed) StreamCache when doing a Wiretap

2015-04-21 Thread Franz Paul Forsthofer
Hi Geert, it is a bug. You can try as a workaround to set the threshold (streamCachingStrategy.setSpoolThreshold(huge_number);) to a huge number; then the body will be kept in memory. Alternatively, you can modify the code of the Camel class org.apache.camel.processor.WireTapProcessor. You have t

Re: Is it possible for file component to NOT to move the file to .camel directory if there is error in the following endpoint of that route.

2015-04-21 Thread contactreji
Check out noop=true option as well. But if you restart the route, chances for duplicate processing to happen. Handle that in ur code. Cheers Reji - Reji Mathews Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & Jboss Fuse ESB | Mule ESB ) LinkedIn - http://in.lin

Re: HTTP operation failed invoking statusCode: 500

2015-04-21 Thread contactreji
Ercan Why are you using a separate implementation for invoking real target service as http://localhost:$";>http://localhost:${real.port}/webservices/payment"; /> I would advice on using the CXF framwork itself. It will take care of all low level stu

Re: Trying to send email from Camel and having no success. Please help.

2015-04-21 Thread contactreji
Hey Did you try a standalone run in the IDE itself with maven camel plugin? Before attempting that, add camel-mail dependency in ur POM.xml file. Cheers Reji - Reji Mathews Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & Jboss Fuse ESB | Mule ESB ) LinkedIn - h

Re: synchronizing multiple processes in a camel route

2015-04-21 Thread contactreji
Hi Yea as others mentioned its sync unless u use EIPS like multicast, inOnly MEPs etc. Message contents stored in out body of one processor automatically becomes the input for the next processor. Its a chained ececution style. Cheers Reji - Reji Mathews Sr. Developer - Middleware Integrat

Re: Data Corruption in SFTP in Parallel Multicast branches

2015-04-21 Thread contactreji
Hi Have u tried replacing With Reji - Reji Mathews Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & Jboss Fuse ESB | Mule ESB ) LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a Twitter - reji_mathews -- Vie

Syslog data format incorrect parsing of structured data

2015-04-21 Thread Sameer Babu K K
According to RFC 5424 syslog structured data can be like the below examples:    All examples in this section show only the structured data part of    the message.  Examples should be considered to be on one line.  They    are wrapped on multiple lines in this document for readability    purposes.

Bindy marshalling large CSV

2015-04-21 Thread iambutcha
Hi. I am using Bindy in order to marshal a large set of data (in batches) to a CSV file. The problem that I am seeing is that Bindy does not seem to offer any streaming solution. This means it is expecting a single message (with the CSV content) to be loaded in memory in order to start writing to

Re: HTTP operation failed invoking statusCode: 500

2015-04-21 Thread ercan.canlier
Reji, I followed the report incident tutorial and that was the reason. I also thought to redesign this by using cxf endpoints. After i faced with the mentioned error, İ thought that was better idea. Additionally, this will bring me possibility to use placeholders for this endpoint declaration as we

Re: Trying to send email from Camel and having no success. Please help.

2015-04-21 Thread kook04
I actually have not tried that. I'm not quite sure how. As I've said, I'm new to Camel (and Maven for that matter). Is there some easy way to accomplish this? Thank you -- View this message in context: http://camel.465427.n5.nabble.com/Trying-to-send-email-from-Camel-and-having-no-success-P

Re: Trying to send email from Camel and having no success. Please help.

2015-04-21 Thread Morgan Hautman
The answer of your question is in my answer I already posted. mvn camel:run On 21/04/2015 18:40, kook04 wrote: I actually have not tried that. I'm not quite sure how. As I've said, I'm new to Camel (and Maven for that matter). Is there some easy way to accomplish this? Thank you -- View

Re: Closed (removed) StreamCache when doing a Wiretap

2015-04-21 Thread Henryk Konsek
Hi, You can also use Wiretap's onPrepareRef option and use custom processor to copy the content of the cached body. Franz, would you be so kind and create a pull request with your fix? Somebody will review it and merge. Thanks in advance! Cheers! wt., 21.04.2015 o 16:25 użytkownik Franz Paul Fo