Great solution for choosing what processor to call on the basis of the value
of a specific header.
I will use this for this solution.

I also have another problem in the redis solution.
In the class CommandDispatcher a lot of "getters"  on different headers or
sometimes the same header are defined.
e.g. getDestination will get a String from the DESTINATION header.
e.g. getLongValue will get a Long value from the VALUE header.
etc...
Do you have any ideas?
Can this be simplefied?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Cyclomatic-complexity-of-camel-redis-tp5783270p5783328.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to