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

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

Github user asfgit closed the pull request at:

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


> 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