I have a basic Spring Integration-ws inbound gateway, that uses UriEndpointMappings to direct the incoming SOAP messages to channels. Right now those messages show up as DOMSource objects. Is there a way to configure the inbound-gateway to treat the requests as strings?
here is the application context code the gateway tosses the message onto the channel that I then routed to stdout, which tells me it is a DOMSource object. Since the end goal is to simply put the incoming message directly onto an outgoing JMS queue, I need it to be treated as a string.
For the time being I have a transformer to convert from DOMSource to string, but with millions of messages coming through over a short period of time, I really can't afford the time for the conversion if there is a way to have spring treat the incoming request as a string.
<si:channel id="dataArrivedChannel" />
<si-ws:inbound-gateway id="dataGateway" request-channel="dataArrivedChannel" />
<stream:stdout-channel-adapter id="stdoutAdaptorWithDefaultCharsetDataArrived" channel="dataArrivedChannel"/>
Thanks for your help!