camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Burgazzoli (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10896) camel-infinispan - Stores result in header and not body
Date Fri, 14 Apr 2017 13:05:42 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luca Burgazzoli updated CAMEL-10896:
------------------------------------
    Fix Version/s: 2.20.0

> camel-infinispan - Stores result in header and not body
> -------------------------------------------------------
>
>                 Key: CAMEL-10896
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10896
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-infinispan
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.20.0
>
>
> 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
> {code}
> 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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message