[
https://issues.apache.org/jira/browse/CAMEL-7727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14103772#comment-14103772
]
ASF GitHub Bot commented on CAMEL-7727:
---------------------------------------
GitHub user cristianonicolai opened a pull request:
https://github.com/apache/camel/pull/245
CAMEL-7727: Unify MessageProducerResources handling into SjmsProducer
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cristianonicolai/camel camel-7727
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/245.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #245
----
commit 3f11a6f7e0f2eaf6d29fff44382daaf149f31058
Author: Cristiano Nicolai <[email protected]>
Date: 2014-08-20T11:32:05Z
CAMEL-7727: Unify MessageProducerResources handling into SjmsProducer
----
> 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)