You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (JIRA)" <ji...@apache.org> on 2016/02/08 15:51:39 UTC

[jira] [Created] (CAMEL-9578) Reduce object creation in InfinispanProducer

Luca Burgazzoli created CAMEL-9578:
--------------------------------------

             Summary: 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)