Hi all,
I am trying to use an enum in a simple expression in the Spring DSL . I see that it will be possible to do this in 2.11. Is there a workaround till then? Right now I'm using a String literal. >From the doc type:name.field Object Camel 2.11: To refer to a type or field by its FQN name. To refer to a field you can append .FIELD_NAME. For example you can refer to the constant field from Exchange as: org.apache.camel.Exchange.FILE_NAME My attempt, which will fail because I'm not using 2.11. Is there another scripting language that will allow the use of the enum literal? <bean ref="CDSDao" method="getOTRCdxProducts(${type:com.csfb.oddlots.model.SecTypeEnum.INDE X_CDS})"/> Thanks =============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ===============================================================================