Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-961 Reporting exceptions back to the jms requester in in-out exchange style
  3. CAMEL-585

JMS Component - Look at Bruces investigations (message transfer using JMS and exceptions)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0, 1.4.0
    • 2.0-M2
    • camel-jms
    • None

    Description

      Bruce Elmore have investigated and do think that Camel has a bug in the JMS compoenent regarding how exceptions is received from the JMS Producer (when receiving the reply).

      If the reply was a thrown exception from the other part, this is not currently set as an exception on the build Exchange but on the body as is.
      Pitfall: If an exception should be deserialized and set as an exception object on the created exception there could be problems with that the exception class does not exists on the receive side.

      Would be great to get James and other core comitters opinion on this matter, as it's maybe also a more general pattern for other components as well.
      This ticket is created to not forget about the postings on the user forum:

      nabble: (Handle Bean Exception)
      http://www.nabble.com/Handling-Bean-exceptions-td17671948s22882.html

      Attachments

        1. camel-fixes.zip
          90 kB
          Bruce Elmore

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: