In Mule 3, I can have a string payload that consists of JSON and I can do expression language operations on it.
retrieves the job state and uses it for a routing descision.
In Spring Integration, I have found that the expression language only seems to support java objects,
If payload is a string, then I can only to String operations on it.
The use case I have is that I want to dynamically route messages to a given exchange (in AMQP) based
on the message contents.
Is there support for this?
Obviously in my service, I could convert the JSON string to a Java JSONObject, but then the outbound adapter would have to serialize back.
Any other ideas would be welcome.