Camel-Cache 2.14.0 with MyBatis

2014-10-30 Thread sandp
Hi, I'm trying to implement caching with camel-cache. The Idea is to cache the results of a mybatis query on a table update. I'm looking at something that would automatically flush the cache for the key, run the mybatis query and cache its result again? A restlet endpoint would look into the cach

Re: SMPP component and problem with valid period (relative) and data message

2014-10-30 Thread Willem Jiang
For Q1, I just checked the camel-smpp code, it just pass the message header setting to  Maybe you doesn’t set the header rightly. Please take a look at this[1] For Q2, please fill feel to create JIRA[2] and submit you patch for it. [1]http://camel.apache.org/using-getin-or-getout-methods-on-exch

Re: CXF Inteceptor Error handling with Camel-CXF, JMS and ActiveMQ

2014-10-30 Thread Willem Jiang
I think you can try to use camel transport of CXF[1], in this way the camel error handler can be use to help you the exception handler there. [1]http://camel.apache.org/camel-transport-for-cxf.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: AutoMocking not working with Blueprint?

2014-10-30 Thread Willem Jiang
Can you try the latest release Camel 2.14.0 ? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 31, 2014 at 1:05:11 AM, wjmcdonald (william.mcdon...@transc

Re: Bundle using camel-spring-ws failes to deploy in Karaf

2014-10-30 Thread Willem Jiang
I’m afraid Spring-DM cannot work with Spring4.x, you need to use Karaf 2.4.x which still use spring 3.2.x to deploy the camel-spring-ws feature. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: will

Re: Adding jaas authentication to a cxf endpoint in karaf

2014-10-30 Thread Willem Jiang
Hi http://localhost:9000/externalWarehouse” and update the  , then your jetty configuration should work now. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Octo

Re: Configuring a servlet with camel-jetty

2014-10-30 Thread Willem Jiang
Can you explain why you need a setup a servlet for the camel-jetty component? As camel-jetty setup the ServletContextHandler by itself, it doesn’t support you to do it that way. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.

Re: Handle first delivery failure differently then all following retries?

2014-10-30 Thread John Taylor
dunnlow writes: > I'm using Camel 2.10.3 and Spring 3.1 with XML route configuration. I have > a transacted route that is getting messages from several different sources > (and saving them to a database). When there is an exception writing to the > database I want to send an alert (a web servi

Re: AutoMocking not working with Blueprint?

2014-10-30 Thread wjmcdonald
2.10.0.redhat-60024 5.8.0 -- View this message in context: http://camel.465427.n5.nabble.com/AutoMocking-not-working-with-Blueprint-tp5758319p5758346.html Sent from the Camel - Users mailing list archive at Nabble.com.

CXF with WS-Security using JAAS

2014-10-30 Thread garethahealy
I am trying to secure a CXF endpoint with JAAS. But am hitting an issue/not fully understanding how to get the PasswordDigest working. I have the solution working when the password type is PasswordText.So I've created a new realm, which points to a file as per below:

Re: camel-jms 2.14.0 option validation on startup from an expression

2014-10-30 Thread sandp
I was able to get over the issue by setting disableReplyTo=true on the producer endpoint. -- View this message in context: http://camel.465427.n5.nabble.com/camel-jms-2-14-0-option-validation-on-startup-from-an-expression-tp5757289p5758344.html Sent from the Camel - Users mailing list archive a

camel-jetty [2.10.7] resends message after 200 secs

2014-10-30 Thread Christoph Schmid
Hi all, It looks like camel jetty in version 2.10.7 (2.14.0 does not do this) sends messages again to the following processor, if this processor hasn't finished after 200 seconds. Is there a way to increase the time or deactivate this? (I guess I run into a timeout of some kind) Thank Christoph

Re: Configuring a servlet with camel-jetty

2014-10-30 Thread jack atwork
It's contributed via spring. I can see this part is fine because if I misconfigure the id with something like 'MyUnregisteredContextHandler' then I get a NoSuchBeanException when the camelContext is created. Does anybody know of any examples of setting up a servlet with camel-jetty? If I add a fil

Adding jaas authentication to a cxf endpoint in karaf

2014-10-30 Thread Hilderich
Dear Support Community, We have in use Apache Karaf 2.3.2 with Apache Camel 2.11.1. There is a bundle with a Camel Route that creates a Web Service: This was already running smoothly with not problems. Now there was the requirement to lock this web service via Basic Authentication. Therefore

Re: Aggregate up to N "ASAP"

2014-10-30 Thread Henryk Konsek
> Henryk, that sounds like a limitation in the design of aggregators in Camel, > rather than a necessarily desirable end goal. Your aggregation predicate would make sense only for consumers which can pull messages in the batch. If your consumer can do it, then you should create custom aggregation

AW: How to pick multiple file in same route

2014-10-30 Thread jhm
In this special case (file + hashcode) the aggregator could store the hashvalue as header. So a validation step could compare the actual value with the expected (header) one. Or the aggregator could do both and throw an exception or send a special exchange/headervalue ... Jan > -Ursprüng

Re: I cant throw the correct HTTP status codes from camel.

2014-10-30 Thread Frankiboy
Yes i tried , but i fiend out a solution This dosen´t work: exchange.getOut().setHeader(Exchange.HTTP_RESPONSE_CODE, 522); exchange.getOut().setFault(true); Becouse there is already a exception on the exchange. But here is the trick, remove the exception that already is on t

Re: Quartz job data deletion in clustered quartz2

2014-10-30 Thread Claus Ibsen
Hi Have you tried setting deleteJob=false http://camel.apache.org/quartz2 On Wed, Oct 29, 2014 at 8:43 AM, lakshmi.prashant wrote: > Hi Claus, > > Thanks a lot. Adding *managementNamePattern="#name#"* to in > blueprint XML seems to click. > > This resolved the 2 issues with both re-deploy