Re: tail logging- How to know parent endpoint from child exchange.

2015-06-18 Thread Claus Ibsen
Hi You can take a look at message history http://camel.apache.org/message-history.html each step has the routeId, which you can use to group by level. On Thu, Jun 18, 2015 at 10:28 PM, Amit wrote: > I would like to print tail log at end of the request with elapsed time as > below. Is in Apach

Re: how to return a valid answer in a spring-ws consumer route (spring dsl)

2015-06-18 Thread Claus Ibsen
Hi When use getOut on an exchange then please read this FAQ http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html On Thu, Jun 18, 2015 at 10:47 PM, Ronny Aerts wrote: > Hello camel community, > > I'am trying to figure out how I can return a simple answer in spring-ws soap > web

Timer endpoint not fired automatically with Camel 13.0.X

2015-06-18 Thread Poorna
Hi, After I upgrade camel version from 2.12.5 to any higher version (and also spring 4.1.x), the timer endpoint is not getting fired automatically. I tried by providing autostartup as true. I am using java dsl (by extending springroutebuilder) @Component public class TestRoute extends SpringRoute

what is the best approach to consume restful service?

2015-06-18 Thread bharadwaj
We have differ options to consume reftful services like cxfRS, jetty, http. My requirement is to consume restful service without service class also it should be able to support CXF bus configuration to have global configuration cxf endpoints. I know we have cxfRS but it's mandatory to use servi

How to consume sql blob object and save it as zip file in camel

2015-06-18 Thread bharadwaj
Hi, I have sql data base : which have zip file content in terms of BLOB , Using camel i need to consume it and store it as zip file in file directory. Can anybody help me out. Thanks, Bharadwaj nakka -- View this message in context: http://camel.465427.n5.nabble.com/How-to-consume-sql-blob-

Re: tail logging- How to know parent endpoint from child exchange.

2015-06-18 Thread Ravindra Godbole
Controbus component enables you to have a look at route specific stats. Have you looked at the same ? http://camel.apache.org/controlbus.html Not sure it will address your parent child relationship as each route considered separately in camel. On Fri, Jun 19, 2015 at 1:58 AM, Amit wrote: >

suppressing log output during testing

2015-06-18 Thread alapaka
This is not a camel issue, thought I might try anyway... I'm using eclipse Luna and Camel 2.13.2 while running unit tests on my routes, the console log is inundated with debug info (not interesting unless debugging the tests themselves) which I would like to suppress such that all I get is loggin

how to return a valid answer in a spring-ws consumer route (spring dsl)

2015-06-18 Thread Ronny Aerts
Hello camel community, I'am trying to figure out how I can return a simple answer in spring-ws soap web service consumer. I have a simple route like: webservice implementation to capture the notifyMessages http://portcommunity.haven.antwerpen.be/}notifyMessages?

tail logging- How to know parent endpoint from child exchange.

2015-06-18 Thread Amit
I would like to print tail log at end of the request with elapsed time as below. Is in Apache Camel any way we can know the parent end point. So we maintain the Parent-child relation ship as below. Trail log: -servlet:///jaxrsExample?matchOnUriPrefix=true took 20 ms --cxfbean:jaxrsServices to

Re: routing slip with InOut pattern

2015-06-18 Thread Claus Ibsen
Make sure the MEP is InOut before sending to the seda endpoint then it does a request-reply messaging. http://camel.apache.org/request-reply.html On Thu, Jun 18, 2015 at 7:27 PM, Tim Dudgeon wrote: > Is is possible to use routing slip so that it always waits for response? > For instance if the r

Re: Apache Camel Routing and Apache CXF Rest with Proxy

2015-06-18 Thread Bhavesh Mistry
I would appreciate if any one has deal with similar issue as above. I would appreciate your input. Thanks, Bhavesh On Tue, Jun 16, 2015 at 11:55 AM, Bhavesh Mistry wrote: > Adding Dev group to see how I can achieve this. > > Thanks, > > Bhavesh > > On Mon, Jun 15, 2015 at 2:56 PM, Bhavesh Mistr

RE: sftp -> seda yields GenericFileOperationFailedException during GenericFileOnCompletion move processing

2015-06-18 Thread GegeFR
Alleluia ! I had an hunch when i saw that sometimes I had exceptions like : "SSH_MSG_DISCONNECT: 2 Packet corrupt". So that meant that somehow the software is sending garbage to the SSH server. And i found ... Well ... To make it short : - The Jsch ChannelSftp is not thread-safe... - When intro

routing slip with InOut pattern

2015-06-18 Thread Tim Dudgeon
Is is possible to use routing slip so that it always waits for response? For instance if the routing slip specifies a seda route then it seems to execute asynchronously and the routing slip returns immediately. If instead I route to a direct endpoint it waits as desired, but that direct route is

Endpoint issue when upgrading to Camel 2.15.2 (dollar sign in URI)

2015-06-18 Thread geppo
Hi, I'm trying to upgrade from Camel 2.9.3 to 2.15.2. The route is very simple: from(endpointInput) .routeId("MyRoute") .process(myProcessor) .to(endpointOutput); where endpointOutput = "myEndpoint:fail:string:file_name?expression=${file:onlyname}" myEndpoint is defined as a

RE: sftp -> seda yields GenericFileOperationFailedException during GenericFileOnCompletion move processing

2015-06-18 Thread Sven Nold
Hi, the same issue exists on sftp/file => disruptor It seems something with the BatchConsumer (file). My current "bad solution" to use wiretap to leave that processing. Would be great to hear a better solution. -Original Message- From: GegeFR [mailto:gwenhael.pasqui...@ericsson.com]

Re: Behavior of AggregationStrategy in conjunction with the enrich DSL, the onException definition and an Exception

2015-06-18 Thread noone100
Hi Christian handled(false) is ought to go back to the initial consumer which is direct:start. Do you know why I never the less get following warn log output and how I can get rid of it? WARN -org.apache.camel.processor.aggregate.AggregateProcessor:Error processing aggregated exchange... followed

Re: sftp -> seda yields GenericFileOperationFailedException during GenericFileOnCompletion move processing

2015-06-18 Thread GegeFR
Hi, I'm digging this up but 5 years later I'm meeting the exact same issue. sftp => seda => anything causes this type of errors. Anybody has any idea about that issue nowadays ? -- View this message in context: http://camel.465427.n5.nabble.com/sftp-seda-yields-GenericFileOperationFailedExc