camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Resolved] (CAMEL-8879) Camel-sjms doesn't treat InOnly and InOut equally
Date Sun, 21 Feb 2016 10:19:18 GMT


Claus Ibsen resolved CAMEL-8879.
    Resolution: Won't Fix
      Assignee: Claus Ibsen

We are in fact deprecating this batch message. And have marked in the javadoc that its only
available for in only.

> Camel-sjms doesn't treat InOnly and InOut equally
> -------------------------------------------------
>                 Key: CAMEL-8879
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-sjms
>    Affects Versions: 2.15.2
>            Reporter: Jimmy Selgen Nielsen
>            Assignee: Claus Ibsen
>             Fix For: 2.17.0
>         Attachments: camel-sjms.patch
> The Camel-sjms component doesn't treat messages being sent to the InOnlyProducer equally
to the ones sent to the InOutProducer.
> As far as i can tell, the InOnlyProducer handles messages the correct way, by splitting
up the ArrayList<BatchMessage<...>> into individual messages, which it then sends.
The InOutProducer just calls "JmsMessageHelper.createMessage" with the ArrayList<BatchMessage<...>>
> When used with WebSphere MQ, the InOutProducer causes an exception:
> JMSCC0083: An incorrect object of type 'org.apache.camel.component.sjms.BatchMessage'
was provided.

This message was sent by Atlassian JIRA

View raw message