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)

Reply via email to