Guillaume,

Thanks for the help, I now have routing working, deployed in Jboss using the
EIP content-based-router.

I did however initially run into the same problem as with servicemix 2, that
is that the transformer that does the routing closed the input stream based
StreamSource that is set as the NormalizedMessage content resulting in a
"premature end of file". I fixed this by creating my own implementation of
the HttpMarshaler, which I injected into the HttpConnector. In this
implementation I have overwritten the toNMS(...) method so that it creates a
DOMSource rather than a StreamSource. 

Is there some benefit to using StreamSource over DOMSource in the
HttpMarshaler? It would be useful to make the choice between which sort of
Source to use configurable.

Regards,

Tim Tennant
--
View this message in context: 
http://www.nabble.com/XsltComponent+routing+problem-t1687094.html#a4644567
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to