camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gershaw, Geoffrey" <>
Subject Simple languange FQN Enum 2.10.3
Date Tue, 19 Feb 2013 15:08:13 GMT
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



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"



Please access the attached hyperlink for an important electronic communications disclaimer: 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message