Spring Integration Samples
  1. Spring Integration Samples
  2. INTSAMPLES-8

XML samples is still dependent on MapBasedChannelResolver

    Details

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

      Activity

      Hide
      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 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
          Reporter:
          Oleg Zhurakousky
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: