Hi Christian,

Thanks for your reply. Does it work in the spring xml?  It appears like static 
attributes work, but not enums.

See log output and example.

<simple>${header.EventCategory} == 
${type:org.apache.camel.component.quickfix.QuickfixjEventCategory.AppMessageReceived}</simple>

[pool-1-thread-1] WARN org.apache.camel.util.ObjectHelper - Cannot find class: 
org.apache.camel.component.quickfix.QuickfixjEventCategory.AppMessageReceived
[pool-1-thread-1] WARN org.apache.camel.util.ObjectHelper - Cannot find class: 
org.apache.camel.component.quickfix.QuickfixjEventCategory


Yes, I have the module in my classpath 

                     <dependency>
                           <groupId>org.apache.camel</groupId>
                           <artifactId>camel-quickfix</artifactId>
                     </dependency>




Geoffrey A Gershaw
Credit eTrading Development
+1 919 994 6412 (*102 6412)


-----Original Message-----
From: Christian Müller [mailto:[email protected]] 
Sent: Tuesday, July 30, 2013 6:51 PM
To: [email protected]
Subject: Re: Enums in spring config

It works with 2.11.0 [1]. What's the exception do you get?

[1]
https://git-wip-us.apache.org/repos/asf?p=camel.git;a=blob;f=camel-core/src/test/java/org/apache/camel/processor/CBRSimpleTypeTest.java;h=aaf9051b9e97a1971e923f8319b688c8bd80b686;hb=99b5784e1fc5fd529c0178f9a8f60ac37fed5682

Best,
Christian
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Tue, Jul 30, 2013 at 10:20 PM, Gershaw, Geoffrey <
[email protected]> wrote:

> Hello All,
>
>
>
> I was under the impression that enums can now be specified in the Spring
> config as in the below example. Having issues. Any advice?
>
>
>
> <simple>${header.EventCategory} ==
> ${type:org.apache.camel.component.quickfix.QuickfixjEventCategory.AppMes
> sageReceived}</simple>
>
>
>
> [pool-1-thread-1] WARN org.apache.camel.util.ObjectHelper - Cannot find
> class:
> org.apache.camel.component.quickfix.QuickfixjEventCategory.AppMessageRec
> eived
>
> [pool-1-thread-1] WARN org.apache.camel.util.ObjectHelper - Cannot find
> class: org.apache.camel.component.quickfix.QuickfixjEventCategory
>
>
>
>
>
> Yes, I have the module in my classpath J
>
>
>
>                      <dependency>
>
>                            <groupId>org.apache.camel</groupId>
>
>                            <artifactId>camel-quickfix</artifactId>
>
>                      </dependency>
>
>
>
>
>
> Geoffrey A Gershaw
>
> CREDIT SUISSE
>
> Information Technology | Credit eTrading Development, KFVB 525
>
> 7033 Louis Stephens Drive | 27560 Research Triangle Park | United States
>
> Phone +1 919 994 6412
>
> [email protected] | www.credit-suisse.com
> <http://www.credit-suisse.com/>
>
>
>
>
>
>
> ===============================================================================
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
>
> ===============================================================================
>
>


=============================================================================== 
Please access the attached hyperlink for an important electronic communications 
disclaimer: 
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
=============================================================================== 

Reply via email to