Re: camel http 'adapter'

2012-04-01 Thread Claus Ibsen
Hi You can also use camel-restlet which can act as a REST server http://camel.apache.org/restlet On Sun, Apr 1, 2012 at 7:29 PM, Marco Mistroni wrote: > Hello Christian >  yes, i want to run camel app as standalone. i'll investigate the > camel-jetty component and get back to the list > if i am

way to implement usecase

2012-04-01 Thread Samruben
Hi I am new to camel. I have a use case, I need some suggestions and best way to implement it. I have some data in database which has some header values as jxpath expression. I need to validate it using filter. eg: jxpath //books/value>600 But in camel, the filter always comes with camel c

Re: Aggregation EIP

2012-04-01 Thread boday
why not just lookup/use the "in.headers.POLICYID_X" property? otherwise, you can manually set another header property prior to calling the "bean:kpiWriterBean" or even call a different method on the bean based on the policy property (see recipient list pattern, etc) sambardar wrote > > I am try

Re: AGGREGATION Properties

2012-04-01 Thread sambardar
I was not doing it in the right way. I got the properties i required. I was able to get the Property for composite key for CamelAggregationCorrelationKey from e.getproperties() -- View this message in context: http://camel.465427.n5.nabble.com/AGGREGATION-Properties-tp5611236p5611418.html Sent f

Re: ProducerTemplate for sending mails with attachements

2012-04-01 Thread vcheruvu
Thanks Ashwin and Claus for valuable suggestions. I have applied your suggestion using Processor and Exchange. template.send(smtp://testServer@host.mailbank?&password=test123&contentType=text/html",ExchangePattern.InOnly, new EmailProcessor(to, from, byteArrayOutputStream, imagesData)); EmailP

AGGREGATION Properties

2012-04-01 Thread sambardar
Can somebody please let me know what values are expected out of Exchange properties AGGREGATED_CORRELATION_KEY and AGGREGATED_COMPLETED_BY. I see it has the value CamelAggregatedCorrelationValue and CamelAggregatedCompletedBy that are not useful. How can i get the real key values on which the aggre

Re: scalable bus with multiple Camel instances

2012-04-01 Thread Christian Müller
If performance is the most important requirement, I would go for camel-netty, camel-mina2 or camel-mina. One remark: I really ofter hear "as fast as possible" but in most cases, it doesn't matter whether it takes 10ms or 50ms longer for one request. If this is the same for your requirement, have

Aggregation EIP

2012-04-01 Thread sambardar
I am trying to use Multiple Aggregates on a single header wherein each of the aggregate picks up different fields from a header to do the aggregation. Once the aggregation is done and all are sent to the next component in the route, is there a way to figure out what aggregate came from which header

Re: camel http 'adapter'

2012-04-01 Thread Marco Mistroni
Hello Christian yes, i want to run camel app as standalone. i'll investigate the camel-jetty component and get back to the list if i am stuck thanks again for your help w/kindest regards marco On Sun, Apr 1, 2012 at 5:49 PM, Christian Schneider wrote: > If you mean you want to run the camel

Re: camel http 'adapter'

2012-04-01 Thread Christian Schneider
If you mean you want to run the camel side as a standalone java application. Yes that is possible. You can use the camel-jetty component to listen to http requests and the json dataformat to serialize, deserialize. Christian Am 01.04.2012 17:17, schrieb Marco Mistroni: Hi all i have a stand

camel http 'adapter'

2012-04-01 Thread Marco Mistroni
Hi all i have a standalone camel application. I want to be able to have a json client which calls camel app and gets back a camel response. Is that possible, without having a camel application runs as part of a .war application? w/kindest regards marco