Re: Apache >> Camel >> ActiveMq

2012-03-20 Thread Willem Jiang
Hi, What are you doing in the bean:kpiGeneratorBean? BTW, when you using the multicast, you need to enable the stream cache[1] to support stream consuming in different endpoints. [1]http://camel.apache.org/stream-caching.html On Wed Mar 21 03:27:29 2012, sambardar wrote: In fact the trace i

Re: CloudWatch Capability for AWS Component?

2012-03-20 Thread Willem Jiang
It could be interesting and Camel community love contribution. Please fill a JIRA with the patch, if you come up with full feature implementation. On Wed Mar 21 07:54:05 2012, dacc wrote: Hello All, I'm considering adding a CloudWatch capability to the AWS component. Does this sound useful

Re: Camel CXF Blueprint - GracePeriod WARNING

2012-03-20 Thread Willem Jiang
He also needs the camel-cxf feature as well. On Wed Mar 21 10:55:44 2012, sanketh.reddy wrote: did you install camel-blueprint feature ? - thanks sanketh mail : san...@gmail.com -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-Blueprint-GracePeriod-WARNING-tp501

Re: CXF and Overriding SOAP Faults

2012-03-20 Thread Willem Jiang
It make sensen. You can add your customer interceptor to wrap the exception as you want. I don't think there are any example you can take a look. But it could be greate if you share your result with us. I think we can add a FAQ entry for it. On Wed Mar 21 11:30:55 2012, Castyn wrote: The reas

Re: How to create ftp/http listener dynamically

2012-03-20 Thread Willem Jiang
Just one note. For camel-ftp, there is no actual FTP server will be create by Camel. We still leverage a real FTP server at the end. On 3/16/12 2:59 PM, Johnny Walker wrote: Hi, We are finding the solution for create the ftp/http listener dynamically,Let's say we need to deploy 2 camel ftp lis

Re: CXFRS producer removing JMS headers

2012-03-20 Thread Willem Jiang
Just FYI, I committed a patch into the trunk, camel-2.9.x and camel-2.8.x branch. Please feel free to check out the latest snapshot for verification. On Mon Mar 19 22:21:36 2012, Willem Jiang wrote: It looks like a bug of cxfrs, I just fill a JIRA[1] for it. [1]https://issues.apache.org/jira/br

Re: CXF and Overriding SOAP Faults

2012-03-20 Thread Castyn
The reason I need the ability to modify the SOAP faults is because the SOAP fault messages will be directly viewed by a user from a client with an external app, so rather than display something potentially cryptic we are going to spend some time wrapping the errors in custom error codes with human

Re: Camel CXF Blueprint - GracePeriod WARNING

2012-03-20 Thread sanketh.reddy
did you install camel-blueprint feature ? - thanks sanketh mail : san...@gmail.com -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-Blueprint-GracePeriod-WARNING-tp5013328p5581802.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CXF and Overriding SOAP Faults

2012-03-20 Thread Willem Jiang
Hi, The validation is done by the CXF data binding interceptor. Camel doesn't know anything about it. I don't know why you need handle the SOAP fault yourself. If you still need to do it yourself, you may need to setup customer FaultOutInterceptors yourself on the CXF enpdoint. Willem On W

CloudWatch Capability for AWS Component?

2012-03-20 Thread dacc
Hello All, I'm considering adding a CloudWatch capability to the AWS component. Does this sound useful and/or is someone already working on it? I'm writing an event-driven application that responds to changing metric values in CloudWatch, and I'd like to use the same Akka/Camel message pipeline

doTry/doCatch with an aggregate

2012-03-20 Thread smashernt
Hi Y'all, I have been working on the error handling for my route and could use a little help to get me to the finish line. My strategy is simplistic, I'll put a doTry/doCatch on the main route and have all the subroutes bubble up the exception. So far, with the aid of the docs+forum I have been abl

Re: Restarting the Camel route

2012-03-20 Thread Frank
Hi, intercept().bean(DoAsIWish.class); from("direct:start").routeId("myRoute) .bean(BeanA.class) .bean(BeanB.class) .bean(BeanC.class) .bean(BeanD.class) .to("seda:out") .to("log:print"); producerTemplate.sendBody("direct:start", outputString); consumerTemplate.receiveBody("seda:out").toString()

Re: org.apache.camel.RuntimeCamelException: org.apache.camel.TypeConverterLoaderException: Failed to load type converters because of: Cannot find any type converter classes from the following packages

2012-03-20 Thread surya
Soumya, If you are still having issues, you can use the patch jar attached and put it in classpath. This should be interim fix for you to get going, will raise jira for drools-camel folks later. peace, surya http://camel.465427.n5.nabble.com/file/n5581146/drools-converter-patch.jar drools-convert

Re: wireTap issue: Exchange is empty while copy defaults to true

2012-03-20 Thread Reuben Garrett
Is this a scenario where the WireTap's onPrepareRef might be helpful to capture the needed information from the tapped Exchange before its parent message is consumed? ~ RNPG On Tue, Mar 20, 2012 at 05:08, Claus Ibsen wrote: > You use local work directory with the FTP endpoint which means the >

Re: Apache >> Camel >> ActiveMq

2012-03-20 Thread sambardar
In fact the trace i sent already is when it makes second delivery attempt and after. In the first delivery attempt the trace is as below. It seems that messages are simply not being delivered to the ActiveMQ queue == TRACE ===

CXF and Overriding SOAP Faults

2012-03-20 Thread Castyn
Greetings, I was wondering if it was possible to overwrite a SOAP fault generated by a CXF consumer. Currently I have a route setup that starts from a CXF consumer and then sends to a CXF producer. I have schema validation turned on in the consumer, so it seems that when an invalid message comes

Re: Better Way to Achieve Parallel Processing of SQS Messages?

2012-03-20 Thread dacc
Hey Claus, Thanks for your reply. SQS doesn't guarantee FIFO, so consumers already have to handle things being out-of-order: http://aws.amazon.com/sqs/faqs/#Does_Amazon_SQS_provide_first_in_first_out_FIFO_access_to_messages Based on GenericFileConsumer, perhaps this is a better patch: https://

Re: Apache >> Camel >> ActiveMq

2012-03-20 Thread sambardar
Camel Version 2.9.0. I am trying to run these routes for first time and i am getting this exception at the start of the routes itself. Everything is configured in the xml file. I am pasting full xml file followed by complete stack trace: http://www.springframework.org/schema/beans"; xmlns:

Re: Apache >> Camel >> ActiveMq

2012-03-20 Thread Claus Ibsen
Hi What version of Camel are you using? How did you configure AMQ? Did it work previously? Post the full stacktrace On Tue, Mar 20, 2012 at 5:39 PM, sambardar wrote: > I am getting an exception when starting the routes that has ActiveMq > component in it. It is complaining about not able te re

Apache >> Camel >> ActiveMq

2012-03-20 Thread sambardar
I am getting an exception when starting the routes that has ActiveMq component in it. It is complaining about not able te resolve the reply Destination. What setting am i missing ? The exception is: Failed delivery for exchangeId: ID-NCPC5MTVC91-4021-1332260165476-0-6. Exhausted after delivery att

Re: CronScheduledRoutePolicy

2012-03-20 Thread OrackBahama
Maybe this could help: 17:23:50,876 DEBUG [Camel (camel) thread #2 - file://C:/Projects.. # 17:24:00,009 DEBUG [DefaultQuartzScheduler-camel_QuartzSchedulerThread] org.quartz.simpl.SimpleJobFactory: Producing instance of Job 'jobGroup-SapIDOC2Archive.job-STOP-SapIDOC2Archive', class=org.ap

Best way to timeout file consumer?

2012-03-20 Thread dunnlow
Hi, I'm using camel 2.9 and spring DSL I'm consuming files from a directory, which normally works great. The problem is that the directory is a network mount and sometimes it gets into an odd state where it exists but can not be read (e.g. I can 'cd' to the directory, but a directory listing 'ls

Re: CronScheduledRoutePolicy

2012-03-20 Thread Claus Ibsen
Hi I think the cron policy will suspend/resume the route. So try onSuspend / onResume. onStop is invoked when you explicit stop the route, such as invoking stopRoute on CamelContext etc. On Tue, Mar 20, 2012 at 3:32 PM, OrackBahama wrote: > Yes, I' am using Camel 2.9.1 > > -- > View this messag

Re: CronScheduledRoutePolicy

2012-03-20 Thread OrackBahama
Yes, I' am using Camel 2.9.1 -- View this message in context: http://camel.465427.n5.nabble.com/CronScheduledRoutePolicy-tp4552324p5580189.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Set Restlet Server Options and Return HTTP Headers Set in Exchange

2012-03-20 Thread Claus Ibsen
Hi Thanks for your contribution. Keep it up. On Tue, Mar 20, 2012 at 2:03 PM, mshorter wrote: > Hi, > > I have submitted a patch (CAMEL-5108) that will allow one to set the > underlying Restlet server options via an option sent to the Endpoint, and to > pass HTTP headers from the exchange (e.g.

Re: Basic Request-Response pattern using MQ

2012-03-20 Thread Claus Ibsen
Hi You have to post more of your stacktrace. And make sure in the ResTransformer you transform the message to a reply format that the CXF web service expects. On Tue, Mar 20, 2012 at 11:12 AM, Sree wrote: > Hi, > > I am trying to create an application which is exposed as a > webservice(soap/htt

Re: CronScheduledRoutePolicy

2012-03-20 Thread Claus Ibsen
Hi You use Camel 2.9.0 or better? http://camel.apache.org/routepolicy Those methods was introduced in that release. On Tue, Mar 20, 2012 at 11:27 AM, OrackBahama wrote: > Hi, > I'm using CronScheduledPolicy to start and stop a route at certain times > with the intention of having kind of a bat

Re: Camel Web Standalone does not work with ActiveMQ

2012-03-20 Thread Claus Ibsen
You need to wait for the AMQ 5.6.0 release which will use the slf4j 1.6 API. Or use an older release of Camel with AMQ 5.5.1, that works together. Alternative you can try some of the recent Fuse MQ releases (FuseSource distribution of ActiveMQ) as we do more frequent releases than Apache AMQ does

Re: CronScheduledRoutePolicy

2012-03-20 Thread OrackBahama
Hi, I'm using CronScheduledPolicy to start and stop a route at certain times with the intention of having kind of a batch job. It really works fine - however I found an "unsymmetry" in the behavior of this class. To close and rollover a logfile at the end of such a batch job (logback triggering po

Basic Request-Response pattern using MQ

2012-03-20 Thread Sree
Hi, I am trying to create an application which is exposed as a webservice(soap/http) through camel-cxf, after that I want to perform some transformations and then send the transformed request to MQ(Active MQ) using request-response patten. On receiving the response from MQ consumer perform reverse

Re: wireTap issue: Exchange is empty while copy defaults to true

2012-03-20 Thread Claus Ibsen
On Tue, Mar 20, 2012 at 10:24 AM, stijn.haezebrouck wrote: > Hello, > > Using Camel 2.9.1, consider the routeBuilder (in DSL) > > > > The routing goes fine to the target FTP, but does not write the test.txt > file. For the "direct:tap" route, I am getting the warning: > > > > According to tracing,

wireTap issue: Exchange is empty while copy defaults to true

2012-03-20 Thread stijn.haezebrouck
Hello, Using Camel 2.9.1, consider the routeBuilder (in DSL) The routing goes fine to the target FTP, but does not write the test.txt file. For the "direct:tap" route, I am getting the warning: According to tracing, the endpoint .to("file://test.txt") exists and is created, but it seems that

Re: Mina route on servicemix - Error executing command: java.lang.NullPointerException

2012-03-20 Thread Omar Atia
Try to start the bundle like this , check if there is missing in the imports ; Start bundle-id Check what error it raises . Also when you start servimix you can check log Log:display Or under servicemix dirextory/data/log Let me know results you get . For error executing command , this is