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

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 unto.valko...@fifthelement.fi 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

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

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

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

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

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:

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: bean id=activemq class=org.apache.camel.component.jms.JmsComponent property name=connectionFactory bean class=com.ibm.mq.jms.MQConnectionFactory property name=transportType value=2/

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:

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 unto.valko...@fifthelement.fi 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

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

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

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

2014-07-23 Thread bocamel
I have the following in my camel context: onException exceptionorg.apache.cxf.binding.soap.SoapFault/exception handledtrue/handled to uri=a bean that sets the body to a new string, i.e. exchange.getIn().setBody(something, String.class) / to uri=file:/... / /onException It does not matter

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

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

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=trueperiod=1000).setBody(body().append(Time is + new Date())).to(file:target/reports/?fileName=sync.txt);

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

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: route id=restEndpoint from uri=cxfrs:///restEp?resourceClasses=com.services.RestServiceIntamp;bindingStyle=SimpleConsumeramp;providers=#corsProvider/ . . . /route I've defined a bean to

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:

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