Re: SEDA vs embedded ActiveMQ

2017-03-29 Thread Muhzin
The documentation of SEDA has the necessary clarification. The *seda:* component provides asynchronous SEDA > behavior, so that messages > are exchanged on a BlockingQueue >

Re: Delete SQS message

2014-04-11 Thread Muhzin
Hi Is there no one using sqs adapter for camel ? On Wed, Apr 2, 2014 at 7:46 PM, Muhzin wrote: > Hi all, > I have a route that consumes from a sqs endpoint. How can I configure the > acknowledgement of message? Is there any way that I can delete the message > from sqs from my r

Delete SQS message

2014-04-02 Thread Muhzin
Hi all, I have a route that consumes from a sqs endpoint. How can I configure the acknowledgement of message? Is there any way that I can delete the message from sqs from my route? My route : from(sqsUrl) .log("Data sync " + simple("${body}").toString()) .beanRef("m

Invoking route inside processor

2014-02-05 Thread Muhzin
Hi all, I have to deal with a large data set in middle of my route. I am trying to process it in parts using a SEDA route with many concurrent consumer. Is there any way I can put message to a route inside a loop in my custom processor component or a bean component? Please advice. -- BR Muhsin

simple expression language error

2014-01-27 Thread Muhzin
Hi all , I am trying to define a predicate using simple expression language for my router .choice() .when().simple("${body.action} == 'updateLogin'") .bean(UpdateProfile.class, "editProfile") .otherwise().bean(UpdateProfile.class, "noAction"); Stacktrace

Content based routing

2014-01-27 Thread Muhzin
Hi all, How can route my message which is a pojo based on a specific attribute value of it? For eg , suppose that I have a have class A which has an attribute 'action' , I need to route my message based on the value of 'action' . -- BR Muhsin

Re: Bean cannot be instantiated

2014-01-23 Thread Muhzin
Hi all, Resolved the issue. I had multiple aws-sdk version installed in my ESB. I removed one of it and it fixed up the issue. Sorry for any troubles caused. On Thu, Jan 23, 2014 at 2:09 PM, Muhzin wrote: > Hi all, > I'm trying to run a camel application on karaf 3.0.0 usin

Bean cannot be instantiated

2014-01-23 Thread Muhzin
Hi all, I'm trying to run a camel application on karaf 3.0.0 using blueprint *Blueprint.xml * http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/blueprint"; xsi:schemaLoc

Re: Property Wiring in camel-Blueprint

2014-01-22 Thread Muhzin
" > factory-method="valueOf"> > > > > > Greetings > > Martin > > > Am 22.01.2014 12:40, schrieb Muhzin: > > Hi, > > How can i refer to a value in an enum in the blueprint, for eg, in this > > case We need to specify

Re: Property Wiring in camel-Blueprint

2014-01-22 Thread Muhzin
region, used in the regions.xml file to identify it. */ public String getName() { return name; } } On Wed, Jan 22, 2014 at 4:55 PM, Muhzin wrote: > HI, > Thanks. tried it and saw that AmazonWebServiceClient setRegion needed a > value of

Re: Property Wiring in camel-Blueprint

2014-01-22 Thread Muhzin
awsRegion There is a constructor in Region class that takes a String argument. On Wed, Jan 22, 2014 at 4:41 PM, Claus Ibsen wrote: > Hi > > Try without the set, eg > > > > On Wed, Jan 22, 2014 at 12:09 PM, Muhzin wrote: > > Hi all, > > > > Whi

Property Wiring in camel-Blueprint

2014-01-22 Thread Muhzin
Hi all, While trying to wire the a property in my blueprint.xml i got the following error. blueprint.xml Error : Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to find property descriptor setRegion on class com.amazonaws.serv

Bean constructor Argument

2014-01-17 Thread Muhzin
Hi all, How can you give a give a constructor argument when creating a bean for camel-blueprint? -- BR Muhsin

Re: Camel main class in osgi bundle

2014-01-17 Thread Muhzin
ry. > > Best regards > Stephan > > -Original Message- > From: Muhzin [mailto:rmuh...@gmail.com] > Sent: Freitag, 17. Januar 2014 10:25 > To: users@camel.apache.org > Subject: Re: Camel main class in osgi bundle > > Thanks for the reply. I'm trying to convert my c

Re: Camel main class in osgi bundle

2014-01-17 Thread Muhzin
SGi. And as well stop and cleanup these > services again when the bundle stops. > > Though much easier to just have a little > OSGI-INF/blueprint/somenamehere.xml blueprint xml file that embeds a > and you have Camel running. > > > > On Fri, Jan 17, 2014 at 4:48 AM, Muh

Camel main class in osgi bundle

2014-01-16 Thread Muhzin
Hi all, I am trying to run camel application in karaf. I new to programming for osgi. How can I make my camel routes run in it? Can i put it in a normal main() class and run it? -- BR Muhsin

Re: Difference in standalone main class

2014-01-16 Thread Muhzin
Hi, Thanks for the advice Claus Ibsen. It was very helpful. On Thu, Jan 16, 2014 at 1:20 PM, Claus Ibsen wrote: > On Thu, Jan 16, 2014 at 6:15 AM, Muhzin wrote: > > Hi, > > I am new to camel > > can anyone please explain the difference between the the main class > >

Difference in standalone main class

2014-01-15 Thread Muhzin
Hi, I am new to camel can anyone please explain the difference between the the main class provided in camel to make it stand alone. ie, - camel-core JAR in the org.apache.camel.Main class (requires Camel 2.6) - camel-spring JAR in the org.apache.camel.spring.Main class Other than the main