Hi All
I upgraded from Spring Integration 1.0.3 to 2.0.5 Before i had a configuration like this:
Now i tried to use directly a inbound-channel adapter but the attribute requestMapper isn't available:Code:<bean id="linefeedAwareInboundRequestMapper" class="com.namics.wetteralarm.queue.endpoint.LinefeedAwareInboundRequestMapper" /> <!-- Receives http post xml messages. bean id must match web.xml servlet-mapping name --> <bean id="sfmeteo" class="org.springframework.integration.http.HttpInboundEndpoint"> <property name="requestChannel" ref="sFMeteoInboundChannel" /> <property name="supportedMethods"> <list> <value>POST</value> </list> </property> <property name="requestMapper" ref="linefeedAwareInboundRequestMapper" /> </bean>
How can i define a RequestMapper on an inbound-channel-adapter? I already read in the documentation and the forum as well, but didn't find an answer.Code:<si-http:inbound-channel-adapter id="sfmeteo" channel="sFMeteoInboundChannel" supported-methods="POST"/>
regards
angela


Reply With Quote