Re: How do I use Java Enum instead of a string into my route in spring xml

2013-01-29 Thread Claus Ibsen
On Tue, Jan 29, 2013 at 10:14 AM, Claus Ibsen wrote: > On Mon, Jan 28, 2013 at 10:14 PM, bp wrote: >> Hi, >> >> If you would see my Route pasted below,I am using simple language in when >> condition (e.g. >> ${body.entity.subject} == 'Advertising'). >> Instead of above statement I want

Re: How do I use Java Enum instead of a string into my route in spring xml

2013-01-29 Thread Claus Ibsen
On Mon, Jan 28, 2013 at 10:14 PM, bp wrote: > Hi, > > If you would see my Route pasted below,I am using simple language in when > condition (e.g. > ${body.entity.subject} == 'Advertising'). > Instead of above statement I want something like: > ${body.entity.subject} == > Inquir