You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jimmy Selgen Nielsen (JIRA)" <ji...@apache.org> on 2015/06/17 14:57:00 UTC

[jira] [Created] (CAMEL-8879) Camel-sjms doesn't treat InOnly and InOut equally

Jimmy Selgen Nielsen created CAMEL-8879:
-------------------------------------------

             Summary: Camel-sjms doesn't treat InOnly and InOut equally
                 Key: CAMEL-8879
                 URL: https://issues.apache.org/jira/browse/CAMEL-8879
             Project: Camel
          Issue Type: Bug
          Components: camel-sjms
    Affects Versions: 2.15.2
            Reporter: Jimmy Selgen Nielsen


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<...>> payload.

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
(v6.3.4#6332)