Multiple DSL - good practice

2011-07-22 Thread deepa.va
Hi All, Is it a good practice to use Multiple DSLs. Eg- Spring DSL & Java DSL. Thanks, Deepa This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, pleas

Refer to java constant from Simple Expression language

2011-07-22 Thread deepa.va
Hi, I am using simple expression language to define ${in.headers.abc} == 'xyz' Instead of hard coding 'xyz' I would like to reference it from a constants file (Constants.XYZ).

RE: Excess usage of Bean Component - performance impacts

2011-06-13 Thread deepa.va
Thanks Ben / Hadrian! Fine grain seems the way to go preferable to implement EIP. Thanks, Deepa -Original Message- From: Hadrian Zbarcea [mailto:hzbar...@gmail.com] Sent: Tuesday, June 14, 2011 3:32 AM To: users@camel.apache.org Subject: Re: Excess usage of Bean Component - performance i

Excess usage of Bean Component - performance impacts

2011-06-13 Thread deepa.va
hi, I am new to Camel. I find Camel a great framework. Configuring routes to invoke processing methods using bean component is an intutive way of organizing route. My question - Approach 1 - Can we use bean component (bean uris) several times? Ex - Approach 2 -