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

camel-infinispan - Stores result in header and not body

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.20.0
    • camel-infinispan
    • None
    • Unknown

    Description

      This component sadly does not work like others like hazelcast etc where the result is by default in message body, so it stores all magically in some result header which you do not expect.

      So if you want to store some message body in a map cache you have to use headers and whatnot.

      We should add some way to configure this to work more like the others. Also it should have better NPE check as you can get NPEs such as

      java.lang.NullPointerException
      	at org.apache.camel.component.infinispan.InfinispanOperation$Operation$7.execute(InfinispanOperation.java:183)
      	at org.apache.camel.component.infinispan.InfinispanOperation.process(InfinispanOperation.java:45)
      	at org.apache.camel.component.infinispan.InfinispanProducer.process(InfinispanProducer.java:34)
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: