Can you just paste your xbean.xml config files ?
I really don't see any reason why it would not work,
but maybe a library has changed which gives this side effect ...

On 3/12/07, Andrea Zoppello <[EMAIL PROTECTED]> wrote:

Hi,

I'm trying to port a service assembly that work correctly in smx 3.0 to
smx 3.1.

The strutcure of my service assembly is

HTTP(BC) --> EIP XPATH Splitter --> Drools Router -> Stream or Mail

The XPath Splitter split on the xpath expression (/ACTIONS/ACTION ) then
each /ACTION element will be processed and i write a simple drl file that
evaluate the "name" attribute and go to the mail  or to the screen.

The strange thing is that if i've a input like this:
<ACTIONS>
<ACTION  name="START_ACTION"
class="it.eng.spago.dispatching.action.util.PublishAction"
scope="REQUEST">
    <CONFIG/>
</ACTION>
</ACTIONS>
with only one ACTION inside ACTIONS element it works.

If i've a input like:
<ACTIONS>
<ACTION  name="START_ACTION"
class="it.eng.spago.dispatching.action.util.PublishAction"
scope="REQUEST">
    <CONFIG/>
</ACTION>
<ACTION  name="TWO"
class="it.eng.spago.dispatching.action.util.PublishAction"
scope="REQUEST">
    <CONFIG/>
</ACTION>
</ACTIONS>
it does not work anymore.

I've write two separated service assembly to test the EIP Xpath splitter
and Drools 3.1
router separately, and each one seems to get the right behaviour.

The problem is when i try to use the two together.

Does anyone have some suggestion?

If it's possible i can attach my sa zip file, but i do that the post
will be rejected.

thanks in advance




--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/

Reply via email to