Uploaded image for project: 'Spring Integration Samples'
  1. Spring Integration Samples
  2. INTSAMPLES-8

XML samples is still dependent on MapBasedChannelResolver

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      oleg.zhurakousky@springsource.com Oleg Zhurakousky added a comment -

      Now, instead of using MapBaseChannelResolver all that is needed is mapping in the router itself

      <si-xml:xpath-router id="instockRouter" input-channel="orderRoutingChannel" resolution-required="true">
      		<si-xml:xpath-expression expression="/orderNs:orderItem/@in-stock" namespace-map="orderNamespaceMap"  />
      		<si-xml:mapping value="true" channel="warehouseDispatchChannel"/>
      		<si-xml:mapping value="false" channel="outOfStockChannel"/>
      </si-xml:xpath-router>

      Show
      oleg.zhurakousky@springsource.com Oleg Zhurakousky added a comment - Now, instead of using MapBaseChannelResolver all that is needed is mapping in the router itself <si-xml:xpath-router id="instockRouter" input-channel="orderRoutingChannel" resolution-required="true"> <si-xml:xpath-expression expression="/orderNs:orderItem/@in-stock" namespace-map="orderNamespaceMap" /> <si-xml:mapping value="true" channel="warehouseDispatchChannel"/> <si-xml:mapping value="false" channel="outOfStockChannel"/> </si-xml:xpath-router>

        People

        • Assignee:
          oleg.zhurakousky@springsource.com Oleg Zhurakousky
          Reporter:
          oleg.zhurakousky@springsource.com Oleg Zhurakousky
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: