Bug in XmlFilteringMessageSpliter?

View: New views
2 Messages — Rating Filter:   Alert me  

Bug in XmlFilteringMessageSpliter?

by Davide Piazza :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hio,
I had strange issue in aggregating responses after an XML message was split into several messages.
I always had the warning that event group expected size was -1.

So debugging a little a found that during the XmlSplit task messege.setCorrelationGroupSize was never called.

I tried adding message.setCorrelationGroupSize(foundNodes.size()); in the initialise(UMOMessage message) method of FilteringXmlMessageSplitter and now responses are correcly aggregated.
Is this a bug? I'm using mule 1.4.4 snapshot


thanks
Davide.

Re: Bug in XmlFilteringMessageSpliter?

by Holger Hoffstätte-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Davide Piazza wrote:
> I had strange issue in aggregating responses after an XML message was
> split into several messages.
> I always had the warning that event group expected size was -1.
>
> So debugging a little a found that during the XmlSplit task
> messege.setCorrelationGroupSize was never called.

Excellent catch, thank you! I filed MULE-2963.

Holger

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email