Or you could use a Java method call for the predicate evaluation, if
the scripting language expression evaluation is slow...
http://activemq.apache.org/camel/bean-language.html
2008/6/13 Gert Vanthienen <[EMAIL PROTECTED]>:
> Ovidiu,
>
> You could try this with e.g. ognl or jxpath. If you contai
Ovidiu,
You could try this with e.g. ognl or jxpath. If you container object is
in the 'in' message body, something like request.body.part1 !=
null should work inside a clause.
Gert
Ovidius wrote:
Hi,
I need to send each properties of an object to a specific route.
Example : I hav
I have a realtime application. I cannot serialize every message.
My initial appoach was :
request.body.PART1 != null
2008/6/13 Ovidius <[EMAIL PROTECTED]>:
>
> My problem is i have a complex model and cannot be mashalled to XML.
Why?
You tried XStream?
http://xstream.codehaus.org/
or just write a little data transfer object that contains whatever
bits of your object model you wanna send as a message
--
James
My problem is i have a complex model and cannot be mashalled to XML.
James.Strachan wrote:
>
> Just send a blob of XML with all the information you need inside it as
> a single Camel message, then use content based router to route based
> on XPath/XQuery expressions...
> http://activemq.apache.
Just send a blob of XML with all the information you need inside it as
a single Camel message, then use content based router to route based
on XPath/XQuery expressions...
http://activemq.apache.org/camel/content-based-router.html
2008/6/13 Ovidius <[EMAIL PROTECTED]>:
>
> Hi,
>
> I need to send
Hi,
I need to send each properties of an object to a specific route.
Example : I have object CONTAINER with 2 properties : PART1 and PART2.
Those does not represent List or Collection.
I receive a CONTAINER's instance.
If PART1 is not null i need to send it to ROUTE1.
If PART2 is n
There is already a CAMEL-393 [1] issue reported for this problem.
I was trying to fix it, but I failed, so it is left open.
I hope it will be fixed soon.
[1] https://issues.apache.org/activemq/browse/CAMEL-393
Roman
2008/6/13 rzfrantz <[EMAIL PROTECTED]>:
>
> Hi all,
>
> An Aggregator and a
2008/6/12 bwtaylor <[EMAIL PROTECTED]>:
>
> I'm writing a message enricher than needs database access using hibernate.
> I'm sure that others have used hibernate within Processors. I'm struggling
> to come up with the right model to replace OpenSessionInView within the
> camel route. Has anybody th
Often queue size is a good indicator of a consumer having problems; so
you could monitor that and throttle/stop the sender when a queue size
grows beyond a certain size. You can set alerts like this in Hyperic.
BTW another approach is to use the consumer advisories to watch if a
consumer on a queu
Good questions.
Added a ticket so its not forgotten - CAMEL-609
Med venlig hilsen
Claus Ibsen
..
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-Original Message-
From: bwtaylor [mailto:[EMAIL PROTECTED]
S
Hi all,
An Aggregator and a Resequencer receives inbound messages directly from
an Endpoint? Is it posible to use an Aggregator in the middle of a route,
after a filter, por example?
Thanks!
--
View this message in context:
http://www.nabble.com/Aggregator-y-Resequencer-tp17819600s22882p1
Hi
Thansk for looking into this. It's a bug in Camel. I have reported it
CAMEL-607
Med venlig hilsen
Claus Ibsen
..
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-Original Message-
From: jhcha [mailto:[
Dear Camel Developer.
Thanks for reply.
After your reply, I has investigated the reason of that warning message
more precisely.
I did understand the Camel TypeConverter more deeply.
I found why the warning message displayed.
Tha camel http component type converter class has the two methods
14 matches
Mail list logo