Announcement Announcement Module
Collapse
No announcement yet.
Direct Channel Error Handling Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Direct Channel Error Handling

    I have a service activator listening on a channel. In my activator service I am throwing a custom exception that extends Runtime Exception. When I receive the response back it is always wrapped by a MessageHandlingException. Is there any way to throw the runtime exception without it being wrapped by MessageHandlingException when using a service activator?

  • #2
    No, because the MessageHandlingException has the failedMessage as a property (as well as the cause); throwing the raw exception would mean losing this important information.

    Comment

    Working...
    X