Re: Spring-WS how to configure retries (number of attempts)

2013-03-11 Thread Claus Ibsen
Hi Camel has extensive support for error handling. So you can just configure it in Camel and it works for any kind of component. Here is some links. http://camel.apache.org/error-handling-in-camel.html http://camel.apache.org/exception-clause.html http://camel.apache.org/error-handler.html http:/

Spring-WS how to configure retries (number of attempts)

2013-03-11 Thread manglu
Hi, I am using Spring-WS to make outbound calls in my camel routes. I want to attempt retries for this end point (to eliminate network glitches or other ephemeral issues) before throwing up errors. Is this retry exposed via spring-ws config. I can't see an option in the doco @ http://camel.apa

Re: Premature servlet response

2013-03-11 Thread Willem jiang
Hi, Have you went through the onCompletion[1] page? If you want to processor2 take effect, you need to remove the onCompletion from your route. [1]http://camel.apache.org/oncompletion.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http

Re: Camel quartz component query

2013-03-11 Thread Willem jiang
Hi, Camel has the management API[1], which could be used to start or stop the route. I think you can leverage this API to start a route from the trigger. [1]http://camel.apache.org/management-example.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fuseso

IP Authorization

2013-03-11 Thread Luis Augusto Coutinho Sauerbronn
Hello Camel users, Is there an easy way to configure IP access control to a group of different camel routes? I have a group of routes (HTTP, JMS, CXF and Mina) and was wondering if I could use an unified solution to control IP based Authorization in all of them. The Authentication is already done

Re: Unmarshall CSV to Map>

2013-03-11 Thread Christian Müller
Did you checked the csv, beanio or bindy component? Instead of a converter, you can also implement a Processor or bean. Best, Christian On Mon, Mar 11, 2013 at 9:52 AM, Joe San wrote: > Camel Users, > > Is there a way to convert the body to a Map of a Map without needing to > write a custom con

RE: Hibernate Current Session issue in Camel

2013-03-11 Thread ganeshkumar.kanagavel
Hi Claus, Please find the bean definition in the camel context. name.hbm.xml hibernate.dialect=org.hibernate.dialect.SQLServerDialect hibernate.hbm2ddl.auto=create hiber

RE: Hibernate Current Session issue in Camel

2013-03-11 Thread ganeshkumar.kanagavel
Camel Version is 2.10.3 Camel-Extra Version is 2.10.1 camel-hibernate Version is 2.10.1 spring-tx Version is 3.2.1.RELEASE spring-jdbc Version is 3.1.0.RELEASE spring-expression is 3.1.0.RELEASE -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Monday, March 11,

Re: Hibernate Current Session issue in Camel

2013-03-11 Thread Claus Ibsen
Hi What version of Camel, Hibernate, camel-extra and Spring are you using? On Mon, Mar 11, 2013 at 6:17 PM, wrote: > Hi, > Please advise if anyone has faced this problem of implementing hibernate in > Camel? > > by: java.lang.NoSuchMethodError: > org.hibernate.SessionFactory.getCurrentSessi

Intermittent test failures

2013-03-11 Thread cheekychops
I have a test class which extends CamelBlueprintTestSupport which has a number of test methods on it. The tests follow the normal pattern: set mock expectations/do stuff/make assertions. Sometimes when I run the tests they all pass, sometimes some of them fail. When they fail I always get the follo

Hibernate Current Session issue in Camel

2013-03-11 Thread ganeshkumar.kanagavel
Hi, Please advise if anyone has faced this problem of implementing hibernate in Camel? by: java.lang.NoSuchMethodError: org.hibernate.SessionFactory.getCurrentSession()Lorg/hibernate/classic/Session; at org.apacheextras.camel.component.hibernate.SpringTransactionStrategy$1.doInTransacti

Re: Reply messages from aggregator

2013-03-11 Thread Henryk Konsek
Hi Sven, > I have to implement a protocol called ATS-M. I'm afraid that we still don't get the protocol you want to implement. Could you elaborate this topic a little bit? > By the way, I did not understand yet, what seda means and what is the > difference to direct. Seda [1] is in-memory messa

Camel quartz component query

2013-03-11 Thread gilboy
Hi Assume I have a route which is using the quartz component(using the quartz database store). Is it possible at runtime to add new triggers. In other words, assume I have an ad-hoc route that I want to execute. If I configure this route to use the quartz component with the quartz database store

AW: Files cannot be moved on FTP

2013-03-11 Thread Lutter, Robin
Hi Claus, We are already using stepwise=false. This is the ftp-uri I have in my testcase: from("ftp://"; + getFTPServerAddress() + "/test?password=secret" + "&ftpClient.dataTimeout=3&stepwise=false" + "&passiveMode=true&b

CamelOne 2013 Call for papers

2013-03-11 Thread Robert Davies
This is the third year of CamelOne, the conference designed for professionals using open source integration and messaging solutions in the enterprise, specifically Apache Camel, ServiceMix, ActiveMQ, Karaf and CXF. The conference will feature a mixture of educational sessions and network events

Premature servlet response

2013-03-11 Thread Christian Schäfer
Hello, currently I have the problem of not beeing able to set servlet response which was generated by the last processor of my route: servlet-consumer ->  processor1 -> onCompletion -> aggregate -> processor2 (response builder) When I fire my test to the deployed servlet endpoint (camel 2.10

Re: base class for context component?

2013-03-11 Thread Taariq Levack
Hi Sven Perhaps you've misunderstood the following... "Defining the context component" In this context(excuse me), what's meant is a bean definition. You should just use the DefaultCamelContext to define your own context, with it's own name as this one is blackbox, and it's own routes. Taariq

Re: Polling in subfolder with sftp fail (camel 2.10.4)

2013-03-11 Thread seazor
I just tried with stepwise=false option but i also had an exception. Anyone an idea ? -- View this message in context: http://camel.465427.n5.nabble.com/Polling-in-subfolder-with-sftp-fail-camel-2-10-4-tp5728836p5728934.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Routing between JBoss MQ-s

2013-03-11 Thread Claus Ibsen
On Mon, Mar 11, 2013 at 11:15 AM, tbenke wrote: > Dear Claus, > thank You for Your reply. I'll give a try to FABs - thanks for the hint! > I still hope that I'll succeed, because my Camel route can send messages to > JBoss MQ. > Thanks again, > Tamás. > Another alternative that some people have h

Re: Reply messages from aggregator

2013-03-11 Thread Sven Bauhan
On 03/10/13 02:53, Christian Müller wrote: Can you explain in more detail what you want to do? I didn't understand your requirement... I have to implement a protocol called ATS-M. It splits messages into segments for transmission. At the receiver the segments are aggregated to the original mess

Re: base class for context component?

2013-03-11 Thread Sven Bauhan
On 03/09/13 20:40, Henryk Konsek wrote: Hi Sven, I'm trying to build my own context component as described in http://camel.apache.org/context.html. Actually Context Component is ready to use out of the box. You don't need to create your own. Or if you have to, please share with us the reasonin

Unmarshall CSV to Map>

2013-03-11 Thread Joe San
Camel Users, Is there a way to convert the body to a Map of a Map without needing to write a custom converter? The body comes from a CSV file with comma as the delimitter. The CSV contains 5 fields and out of that five fields, I want to pick 3 of them and create the Map of Map structure. Any sugge

Re: CamelContext resume does not reactivate the route

2013-03-11 Thread Claus Ibsen
Hi I assume fromLocation is a file endpoint? You can try setting option runLoggingLevel=INFO, then Camel logs a INFO level when the file consumer runs on each poll. Then you can see if that loggings does not resume when you resume Camel. Also with JMX you can take a look at the scheduled thread

Re: Camel Routing between JBoss MQ-s

2013-03-11 Thread Claus Ibsen
Hi I am not sure JBossMQ is OSGi compliant. Eg as you needed to use the BND tools for the JARs. Using this approach can be complicated. You can try an alternative by deploying the application that uses JBossMQ as WAR files and embed all the JARs you need. Another alternative is FAB that was desi

Camel Routing between JBoss MQ-s

2013-03-11 Thread tbenke
Hello Everybody! I have worked for a while on a Camel route, between some JBoss MQ-s and other (file, Karaf log) endpoints. I use Apache ServiceMix 4.4.2 (with Camel 2.8.5 and Spring 3.0.6.RELEASE inside), and JBoss [EAP] 5.1.1, under Microsoft Windows 7 Professional 64-bit SP1. I had to shift (wi

New Contribution: Component XML Digital Signature

2013-03-11 Thread Franz Paul Forsthofer
Hello, I want to contribute a new component for XML Digital Signature. There shall be two endpoints; the signer endpoint shall sign the body of the in-message and create an XML digital signature in the out-message, the verifier endpoint shall verify the XML signature contained in the body of the

Re: CXF and callbacks

2013-03-11 Thread Willem jiang
CXF supports the Async Invocation and we just use it in camel-cxf by default. Now I need to know how your bpel process works. Are you using camel route to do this kind of work ? -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.

Re: No body after XSLT transformation

2013-03-11 Thread Willem jiang
Hi, Did you have refresh the project and have clean build with the codes that you changed? -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (Englis

Re: Building complex tcp route

2013-03-11 Thread kiranreddykasa
hi I have no control over the external server . I guess if i split the route into two routes it works. 1 from(internalserver1 ).process(server1requestHandler ).to(extrenalserver).process(responseHandler); 2 from(internalserver2).process(server2requestHandler ); External Server will be sendin

Re: CamelContext resume does not reactivate the route

2013-03-11 Thread rajesh_h
Here is the route-psp1 // Processing one csv file at a time from(fromLocation).routeId("route-psp1") .choice() .when(simple("${file:ext} == 'csv'")).to("direct:csv") .otherwise().log("Ignoring unknown file ${file:name}"); // And here is route-psp2, which st