Mina producer should support windowing
--------------------------------------

                 Key: CAMEL-4598
                 URL: https://issues.apache.org/jira/browse/CAMEL-4598
             Project: Camel
          Issue Type: Improvement
            Reporter: Ioannis Canellos
            Assignee: Ioannis Canellos


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to