Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9578

Reduce object creation in InfinispanProducer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.17.0
    • camel-infinispan
    • None
    • Unknown

    Description

      As today InfinispanProducer creates an object per event:

          @Override
          public void process(Exchange exchange) throws Exception {
              new InfinispanOperation(
                  getCache(exchange), 
                  configuration).process(exchange);
          }
      

      Which could be reduce by making InfinispanOperation stateless

      Attachments

        Activity

          People

            lb Luca Burgazzoli
            lb Luca Burgazzoli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: