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

Camel-sjms doesn't treat InOnly and InOut equally

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.15.2
    • Fix Version/s: 2.17.0
    • Component/s: camel-sjms
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

        1. camel-sjms.patch
          3 kB
          Jimmy Selgen Nielsen

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              jinie Jimmy Selgen Nielsen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: