Cristiano Nicolai created CAMEL-7727:
----------------------------------------

             Summary: Unify MessageProducerResources handling into SjmsProducer
                 Key: CAMEL-7727
                 URL: https://issues.apache.org/jira/browse/CAMEL-7727
             Project: Camel
          Issue Type: Improvement
          Components: camel-sjms
    Affects Versions: 2.13.2
            Reporter: Cristiano Nicolai


InOnlyProducer and InOutProducer have similar code for borrowing 
MessageProducerResources from pool but different behavior for handling errors 
associated to it. Also InOnlyProducer does not apply the responsetimeout 
parameter as timeout for borrowing producer from pool. Moving this logic and 
error handling to SjmsProducer can remove duplicate code and provide same 
behavior for both classes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to