[ 
https://issues.apache.org/jira/browse/CAMEL-9578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15137066#comment-15137066
 ] 

ASF GitHub Bot commented on CAMEL-9578:
---------------------------------------

GitHub user lburgazzoli opened a pull request:

    https://github.com/apache/camel/pull/831

    CAMEL-9578 - Reduce object creation in InfinispanProducer

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lburgazzoli/apache-camel CAMEL-9578

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/831.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 #831
    
----
commit bc4430f936671ef8f422a8ebd9b0c624c473380c
Author: lburgazzoli <[email protected]>
Date:   2016-02-08T15:22:43Z

    CAMEL-9578 - Reduce object creation in InfinispanProducer

----


> Reduce object creation in InfinispanProducer
> --------------------------------------------
>
>                 Key: CAMEL-9578
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9578
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-infinispan
>            Reporter: Luca Burgazzoli
>            Assignee: Luca Burgazzoli
>            Priority: Minor
>
> As today InfinispanProducer creates an object per event:
> {code:java}
>     @Override
>     public void process(Exchange exchange) throws Exception {
>         new InfinispanOperation(
>             getCache(exchange), 
>             configuration).process(exchange);
>     }
> {code}
> Which could be reduce by making InfinispanOperation stateless



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to