You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by rgavlin <rg...@yahoo.com> on 2008/10/20 14:49:32 UTC

How to express new "handled" predicate in Spring DSL

Greetings,

Is there a way to express the new Exception "handled" predicate in Spring
DSL? If so, would you mind providing an example?

Thanks,

/Ron


-- 
View this message in context: http://www.nabble.com/How-to-express-new-%22handled%22-predicate-in-Spring-DSL-tp20067475s22882p20067475.html
Sent from the Camel - Users mailing list archive at Nabble.com.


RE: How to express new "handled" predicate in Spring DSL

Posted by rgavlin <rg...@yahoo.com>.
Greetings,

Opened http://issues.apache.org/activemq/browse/CAMEL-1001 for this issue.

Thanks,

/Ron


Claus Ibsen wrote:
> 
> Hi
> 
> That is actually an oversight. It's not exposed in the XSD
> Do you mind creating a ticket in JIRA about this?
> I am about to leave the office.
> 
>     @XmlTransient
>     private Predicate handledPolicy;
> 
> It should be a
>     @XmlElementRef
> 
> And probably a ExpressionType instead of Predicate (see how Aggregator
> does it with its completed predicate)
> 
> 
> 
> Med venlig hilsen
>  
> Claus Ibsen
> ......................................
> Silverbullet
> Skovsgårdsvænget 21
> 8362 Hørning
> Tlf. +45 2962 7576
> Web: www.silverbullet.dk
> 
> -----Original Message-----
> From: rgavlin [mailto:rgavlin@yahoo.com] 
> Sent: 20. oktober 2008 14:50
> To: camel-user@activemq.apache.org
> Subject: How to express new "handled" predicate in Spring DSL
> 
> 
> Greetings,
> 
> Is there a way to express the new Exception "handled" predicate in Spring
> DSL? If so, would you mind providing an example?
> 
> Thanks,
> 
> /Ron
> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/How-to-express-new-%22handled%22-predicate-in-Spring-DSL-tp20067475s22882p20067475.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-express-new-%22handled%22-predicate-in-Spring-DSL-tp20067475s22882p20087458.html
Sent from the Camel - Users mailing list archive at Nabble.com.


RE: How to express new "handled" predicate in Spring DSL

Posted by Claus Ibsen <ci...@silverbullet.dk>.
Hi

That is actually an oversight. It's not exposed in the XSD
Do you mind creating a ticket in JIRA about this?
I am about to leave the office.

    @XmlTransient
    private Predicate handledPolicy;

It should be a
    @XmlElementRef

And probably a ExpressionType instead of Predicate (see how Aggregator does it with its completed predicate)



Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: rgavlin [mailto:rgavlin@yahoo.com] 
Sent: 20. oktober 2008 14:50
To: camel-user@activemq.apache.org
Subject: How to express new "handled" predicate in Spring DSL


Greetings,

Is there a way to express the new Exception "handled" predicate in Spring
DSL? If so, would you mind providing an example?

Thanks,

/Ron


-- 
View this message in context: http://www.nabble.com/How-to-express-new-%22handled%22-predicate-in-Spring-DSL-tp20067475s22882p20067475.html
Sent from the Camel - Users mailing list archive at Nabble.com.