Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear all.
I nearly tried the last three days to get the cMessageFilter component working in TESB Studio 5.1.1.
What I' d like to achieve is to build a route that routes the incoming message according to a value set within a special header. (e.g.: if (header value at key "type" is equals to "bla" then route message to jobA, otherwise to jobB)
As I stumbled over the documentation, all I found is to manually set the java code by using the choice element (see the following example)
...
.choice()
.when(header("type").isEqualTo("widget")).to("bean:widgetOrder")
.end();
..
But the TESB Studio doesnt let me set any of this code fragments.
It generates somtehing like this
...
.filter().header("isIVR")
...
As for I am using the TESB Studio, I wondered if it is possible to simply build this routing by "clicking your route" with the cMessageFilter component of TESB Studio 5.1.1.
But nevertheless I can't specify any further options than what type of routing EL I am using and the value to compare. There's no palce or filed to put more code into (see screen shots).
Maybe some of you did experience the same problem / behaviour. What's the next step I should take to solve my problem.
Thanks in advance.
Kind regards.
Alexander