Re: Set providers property on uri for cxfrs endpoint

2014-07-23 Thread Claus Ibsen
Hi What version of Camel do you use? On Thu, Jul 24, 2014 at 2:01 AM, cdryst wrote: > Hello I'm trying to set the providers property for the endpoint of my rest > service: > > > uri="cxfrs:///restEp?resourceClasses=com.services.RestServiceInt&bindingStyle=SimpleConsumer

Re: Sockets getting closed after 200 seconds

2014-07-23 Thread Claus Ibsen
Hi Maybe you have a firewall in between that closes inactive connections after X period of time. On Wed, Jul 23, 2014 at 9:52 PM, ashwin74268 wrote: > Hi , > I am running into a strange problem of sockets getting closed after exact > 200seconds. My application is OSGI bases running with service

How to restart the route if no response is returned from the web service call

2014-07-23 Thread Jaishankar
There are three routes, in each route a web service operation are called using CXF endpoint. In each route there is CXF endpoint to call web service. 1st route Begin 2nd route Modify 3rd route Commit If fault is returned from the web service call then stop the route. Lets take a scenario if

Sockets getting closed after 200 seconds

2014-07-23 Thread ashwin74268
Hi , I am running into a strange problem of sockets getting closed after exact 200seconds. My application is OSGI bases running with servicemix , camel-cxf version 2.8-fuse-06-11. Routes are built using DSL in Java Classes. A - Client B - Server 1) Client is submiting the request(It re-uses at it

Re: transform component

2014-07-23 Thread Lowry
See my post and advice from Dan Kulp on re-using the mentioned CXF classes to perform the transformation from arbitrary location within route. http://cxf.547215.n5.nabble.com/cxf-transformation-feature-could-code-be-ported-and-used-in-Camel-tt5746812.html -- View this message in context: http

Set providers property on uri for cxfrs endpoint

2014-07-23 Thread cdryst
Hello I'm trying to set the providers property for the endpoint of my rest service: . . . I've defined a bean to enable Cors on the service: When I run the application it gives me the error: Caused By: java.lang.IllegalArgumentException: Could not find a suitable se

Re: Scheduled Timer and Conditional select using camel-hibernate

2014-07-23 Thread rbkumar88
Hi Claus, 1.Is there a way where we can pass the parameters to the "where" clause for the select dynamically..e.g from the message body. 2.How can we update certain fields (date,Clob) based on dynamic parameters .again from message body. Do we have options for the above cases using Camel-jpa(hib

RE: Camel Java routes using Timer firing only once

2014-07-23 Thread Ravindra.Godbole
Body of timer is null hence it will fail on the first message. Try following and it will work as expected. You can use timer without spring. from("timer://foo?fixedRate=true&period=1000").setBody(body().append("Time is " + new Date())).to("file:target/reports/?fileName=sync.txt"

RE: Problem encrypting the password using Camel Jasypt component

2014-07-23 Thread Ravi Godbole
The error message prints the cause as null because EncryptionOperationNotPossibleException does not populate detailed message. Invalid encrypted key and password combination may result in such error. In order to give some insight to end user on what really caused the failure it will be good if

How to create a ldap restletRealm to manage restlet route authentication using LDAP

2014-07-23 Thread long
I have a Camel application which using camel-restlet for web service calls. now I want to add ldap authentication for restlet calls. tried couple of options with camel-restlet realm, LdapVerifier using ChallengeAuthenticator. can not make it work! need help? Thanks I am able to add LDAP auth

setBody(Object body, Class type) does not seem to set the body type

2014-07-23 Thread bocamel
I have the following in my camel context: org.apache.cxf.binding.soap.SoapFault true It does not matter what I set in the body (the something above), the file would be empty. I noticed that the body type is still CxfPayload after I did the setBody(something, String.class). However,

Camel/ActiveMQ RequestReply Transaction Question

2014-07-23 Thread mattmadhavan
Hello, I have some basic questions on Camel/ActiveMQ transactions with request/reply jms endpoints/ Have the following route. ( i basically took the example request/reply jms example from the Camel in action book and springiified). When I have the transactionManager attribute pf the ActiveMQ comp

Re: Camel 2.13.1 MyBatis Batch Insert to Oracle 11g Table ORA-00933: SQL command not properly ended

2014-07-23 Thread sandeepreddip
Hi All, I was able to do an UpdateList from Camel route with MyBatis (route below). But InsertList is not working (please refer to my previous posts in the thread). I'm not sure if its a bug, I appreciate if someone could point me to a testcase or help me with the issue. I referred to the documen

Re: What would be the benefits of running Camle on osgi?

2014-07-23 Thread Claus Ibsen
On Wed, Jul 23, 2014 at 10:22 AM, user3152723 wrote: > Hi, > > thanks for your reply! Camel is just great framework and your book is "a > must" resource for Camel user (says ex Mule user). > > Still I'd like to insist to hear your opinion: when do we not need to use > blueprint osgi? It seems to

Re: Anyone seen this problem: Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2195

2014-07-23 Thread Frankiboy
Solved name="transportType" value="1" , must be 2 then its TCP/IP and this is nessesary when im a client that connect to a remote mashine But new problem, this i will put i a new thread :-) Frank -- View this message in context: http://camel.465427.n5.nabble.com/Anyone-seen-this-problem

An exception occurred while creating the TopicConnection.

2014-07-23 Thread Frankiboy
I try to build up a simpe connection to a MQ and put something in it. camel.xml: Route: from("file:c:/camel-input/?delete=true").to("activemq:topic:H

Re: Consumer template get stuck when calling receive() with SMPP uri and getting a negative response.

2014-07-23 Thread cursed_manji
Any news about this issue? I have the same problem, when the password for the smsc is wrong, it does infinate attempts instead of stopping after a couple of attempts. -- View this message in context: http://camel.465427.n5.nabble.com/Consumer-template-get-stuck-when-calling-receive-with-SMPP-ur

Re: How to remove intercept() or process() from superclass with adviceWith

2014-07-23 Thread Claus Ibsen
Hi I am not sure if advice-with supports this on interceptors/onException as its more complicated to remove those etc. Though it may be possible, but likely needs some code changes in camel-core to support that too. Fell free to log a JIRA ticket for improvement. On Thu, Jul 17, 2014 at 10:02 AM

VS: What would be the benefits of running Camle on osgi?

2014-07-23 Thread user3152723
Hi, thanks for your reply! Camel is just great framework and your book is "a must" resource for Camel user (says ex Mule user). Still I'd like to insist to hear your opinion: when do we not need to use blueprint osgi? It seems to me that if you use current version of Fuse, you can't but use os

Re: What would be the benefits of running Camle on osgi?

2014-07-23 Thread Claus Ibsen
Ups meant to add OSGi in there as well > Well IMHO a big part of f the learning curve is IMHO and the fact that Karaf is a new kind of application server, that most people have not used before. Should be Well IMHO a big part of f the learning curve is OSGi and the fact that Karaf is a new kind o

Re: What would be the benefits of running Camle on osgi?

2014-07-23 Thread Claus Ibsen
Hi Apache Camel is a library that is intended to be used in any kind of environment. Whether you run Camel in OSGi / JEE / Standalone / micro containers / or whatever. All the Camel components / DSLs etc is designed to work the same. So from Camel point of view you do not miss out running outside

Re: What would be the benefits of running Camle on osgi?

2014-07-23 Thread Claus Ibsen
On Wed, Jul 23, 2014 at 9:21 AM, user3152723 wrote: > Tank you for the answers! > > I can now see that I mixed up names and things and frameworks. Fuse is based > on Karaf; when you start (RedHat) Fuse you meet Karaf console. > > And about testing Camel "osgi-blueprint" routes: Check Camel in Acti

Re: What would be the benefits of running Camle on osgi?

2014-07-23 Thread user3152723
Tank you for the answers! I can now see that I mixed up names and things and frameworks. Fuse is based on Karaf; when you start (RedHat) Fuse you meet Karaf console. And about testing Camel "osgi-blueprint" routes: Check Camel in Action: in the osgi example of the book, there is not even test-fol