Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4598

Mina producer should support windowing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • Unknown

    Description

      Mina producer will send a message and wait for a response before sending the second message.
      However, there are a lot of protocols out there that support windowing (sending multiples messages before getting a response).
      As of Mina 2.x it is possible to use a request response filter (also usable to 1.x. with some tuning). This filter can be used to match outbound messages with their response.

      We could provide an option to the producer URI that would specify the window size. If the window size is greater than 1, we could automatically import the request response filter inside the filter chain. We would also require the user to specify a class that would be used to retrieve the correlation id from the response message. Or provide an annotation that would mark the correlation id.

      Attachments

        Issue Links

          Activity

            People

              iocanel Ioannis Canellos
              iocanel Ioannis Canellos
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: