0
votes

I am trying to process two HTTP requests (XML returns) using Scatter-Gather component in Mule. Coming out of Scatter-Gather the payload is:

payload (mimeType="/" encoding="UTF-8") Object = java.util.concurrent.CopyOnWriteArrayList containing 2:

  • [1] org.glassfish.grizzly.utils.BufferInputStream
  • [2] org.glassfish.grizzly.utils.BufferInputStream

I have tried: 1. Transform Message 2. Combine Collections 3. Combine Collections -> Transform Message

I have NOT been able to obtain a successful XML message from the 2 called flows in Scatter-Gather. I do know that at breakpoints on the components, the payload is (mimeType="/) and in fact I see this as an INFO log message in the console when the firing HTTP request is made to start my Scatter-Gather flow.

Can anyone suggest a way to obtain my XML output? The scatter-gather flow requests return the same XML/XSD from separate Mule apps. I have a common data model (CDM) that I want to use in the end to bring these requests into and also use Message Enrichment to help with the other parts.

Any help here would be appreciated.

1

1 Answers

0
votes

You should transform to XML within each scatter gather route, then out of there you'll have a collection with both XMLs instead of the InputStreams. HTH