Uploaded image for project: 'Mule'
  1. Mule
  2. MULE-5307

Reply-to is not supported by flow constructs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.3 (EE only)
    • Component/s: Core: Services
    • Labels:
      None
    • Severity:
      S1
    • Configuration:
      Hide

      <mule xmlns="http://www.mulesoft.org/schema/mule/core"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:spring="http://www.springframework.org/schema/beans"
      xmlns="http://www.springframework.org/schema/p"
      xmlns:http="http://www.mulesoft.org/schema/mule/http"
      xmlns:vm="http://www.mulesoft.org/schema/mule/vm"
      xmlns:script="http://www.mulesoft.org/schema/mule/scripting"
      xmlns:jersey="http://www.mulesoft.org/schema/mule/jersey"
      xmlns:jms="http://www.mulesoft.org/schema/mule/jms"
      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
      http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.0/mule.xsd
      http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/3.0/mule-http.xsd
      http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.0/mule-vm.xsd
      http://www.mulesoft.org/schema/mule/jersey http://www.mulesoft.org/schema/mule/jersey/3.0/mule-jersey.xsd
      http://www.mulesoft.org/schema/mule/scripting http://www.mulesoft.org/schema/mule/scripting/3.0/mule-scripting.xsd
      http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/3.0/mule-jms.xsd">

      <http:connector name="HttpConnector" enableCookies="false" keepAlive="false"/>
      <jms:activemq-connector name="amqConnector"/>
      <jms:endpoint name="bar" queue="request_queue" exchange-pattern="request-response"/>
      <http:endpoint name="httpbridge" address="http://0.0.0.0:65082" exchange-pattern="request-response">
      <response>
      <object-to-string-transformer/>
      </response>
      </http:endpoint>

      <flow name="my bridge">
      <inbound-endpoint ref="httpbridge" />
      <http:body-to-parameter-map-transformer />
      <outbound-endpoint address="jms://request_queue" exchange-pattern="request-response" />
      </flow>
      <model>
      <service name="foo">
      <inbound>
      <jms:inbound-endpoint ref="bar" >
      </jms:inbound-endpoint>
      </inbound>

      <echo-component/>

      </service>
      </model>
      </mule>

      <?xml version="1.0" encoding="UTF-8"?>
      <mule xmlns="http://www.mulesoft.org/schema/mule/core"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:spring="http://www.springframework.org/schema/beans"
      xmlns="http://www.springframework.org/schema/p"
      xmlns:http="http://www.mulesoft.org/schema/mule/http"
      xmlns:vm="http://www.mulesoft.org/schema/mule/vm"
      xmlns:script="http://www.mulesoft.org/schema/mule/scripting"
      xmlns:jersey="http://www.mulesoft.org/schema/mule/jersey"
      xmlns:jms="http://www.mulesoft.org/schema/mule/jms"
      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
      http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.0/mule.xsd
      http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/3.0/mule-http.xsd
      http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.0/mule-vm.xsd
      http://www.mulesoft.org/schema/mule/jersey http://www.mulesoft.org/schema/mule/jersey/3.0/mule-jersey.xsd
      http://www.mulesoft.org/schema/mule/scripting http://www.mulesoft.org/schema/mule/scripting/3.0/mule-scripting.xsd
      http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/3.0/mule-jms.xsd">

      <http:connector name="HttpConnector" enableCookies="false" keepAlive="false"/>
      <jms:activemq-connector name="amqConnector"/>
      <jms:endpoint name="bar" queue="request_queue" exchange-pattern="request-response"/>
      <http:endpoint name="httpbridge" address="http://0.0.0.0:65082" exchange-pattern="request-response">
      <response>
      <object-to-string-transformer/>
      </response>
      </http:endpoint>

      <flow name="my bridge">
      <inbound-endpoint ref="httpbridge" />
      <http:body-to-parameter-map-transformer />
      <outbound-endpoint address="jms://request_queue" exchange-pattern="request-response"/>
      </flow>
      <flow name="QueueProcessor">
      <inbound-endpoint ref="bar"/>
      <echo-component/>
      </flow>
      </mule>

      Show
      <mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:spring="http://www.springframework.org/schema/beans" xmlns ="http://www.springframework.org/schema/p" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:vm="http://www.mulesoft.org/schema/mule/vm" xmlns:script="http://www.mulesoft.org/schema/mule/scripting" xmlns:jersey="http://www.mulesoft.org/schema/mule/jersey" xmlns:jms="http://www.mulesoft.org/schema/mule/jms" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.0/mule.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/3.0/mule-http.xsd http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.0/mule-vm.xsd http://www.mulesoft.org/schema/mule/jersey http://www.mulesoft.org/schema/mule/jersey/3.0/mule-jersey.xsd http://www.mulesoft.org/schema/mule/scripting http://www.mulesoft.org/schema/mule/scripting/3.0/mule-scripting.xsd http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/3.0/mule-jms.xsd "> <http:connector name="HttpConnector" enableCookies="false" keepAlive="false"/> <jms:activemq-connector name="amqConnector"/> <jms:endpoint name="bar" queue="request_queue" exchange-pattern="request-response"/> <http:endpoint name="httpbridge" address="http://0.0.0.0:65082" exchange-pattern="request-response"> <response> <object-to-string-transformer/> </response> </http:endpoint> <flow name="my bridge"> <inbound-endpoint ref="httpbridge" /> <http:body-to-parameter-map-transformer /> <outbound-endpoint address="jms://request_queue" exchange-pattern="request-response" /> </flow> <model> <service name="foo"> <inbound> <jms:inbound-endpoint ref="bar" > </jms:inbound-endpoint> </inbound> <echo-component/> </service> </model> </mule> <?xml version="1.0" encoding="UTF-8"?> <mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:spring="http://www.springframework.org/schema/beans" xmlns ="http://www.springframework.org/schema/p" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:vm="http://www.mulesoft.org/schema/mule/vm" xmlns:script="http://www.mulesoft.org/schema/mule/scripting" xmlns:jersey="http://www.mulesoft.org/schema/mule/jersey" xmlns:jms="http://www.mulesoft.org/schema/mule/jms" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.0/mule.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/3.0/mule-http.xsd http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.0/mule-vm.xsd http://www.mulesoft.org/schema/mule/jersey http://www.mulesoft.org/schema/mule/jersey/3.0/mule-jersey.xsd http://www.mulesoft.org/schema/mule/scripting http://www.mulesoft.org/schema/mule/scripting/3.0/mule-scripting.xsd http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/3.0/mule-jms.xsd "> <http:connector name="HttpConnector" enableCookies="false" keepAlive="false"/> <jms:activemq-connector name="amqConnector"/> <jms:endpoint name="bar" queue="request_queue" exchange-pattern="request-response"/> <http:endpoint name="httpbridge" address="http://0.0.0.0:65082" exchange-pattern="request-response"> <response> <object-to-string-transformer/> </response> </http:endpoint> <flow name="my bridge"> <inbound-endpoint ref="httpbridge" /> <http:body-to-parameter-map-transformer /> <outbound-endpoint address="jms://request_queue" exchange-pattern="request-response"/> </flow> <flow name="QueueProcessor"> <inbound-endpoint ref="bar"/> <echo-component/> </flow> </mule>

      Description

      As reported on the user forum, the first configuration (flow+service) works but not the second (flow+flow), which seems due to the fact flows don't terminate with a message processor that would use the endpoint's connector's replyTo handler.

        Attachments

          Activity

            People

            • Assignee:
              pablo.lagreca.ce Pablo La Greca
              Reporter:
              davidd David Dossot
            • Votes:
              6 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: