[
https://issues.apache.org/jira/browse/CXF-6136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14234338#comment-14234338
]
Jason Pell edited comment on CXF-6136 at 12/4/14 4:46 PM:
----------------------------------------------------------
That actually would leave me back at square one. In my case, I dont want to
roll back when I encounter a checked exception. Because checked exceptions are
going to be Faults that wrap a JAX-WS business exception (checked exception).
The existing code always wraps the checked exceptions in a runtime exception.
I added the config element and set it to true by default, to maintain existing
functionality.
In my case I would set the config value to false, so that my soap fault is sent
as reply to the MOM
was (Author: jpell):
That actually would leave me back at square one. In my case, I dont want to
roll back when I encounter a checked exception. Because checked exceptions are
going to be Faults that wrap a JAX-WS business exception (checked exception).
The existing code always wraps the checked exceptions in a runtime exception.
I added the config element and set it to true, to maintain existing
functionality.
In my case I would set the config value to false, so that my soap fault is sent
as reply to the MOM
> Enhance JMS 2.x JMS Configuration to better control what exceptions cause
> rollback
> ----------------------------------------------------------------------------------
>
> Key: CXF-6136
> URL: https://issues.apache.org/jira/browse/CXF-6136
> Project: CXF
> Issue Type: Improvement
> Components: JMS
> Affects Versions: 2.7.14
> Reporter: Jason Pell
> Assignee: Jason Pell
> Priority: Minor
> Fix For: 2.7.15
>
>
> Currently if a JMS Transaction Manager is configured for JMS Configuration
> style any exceptions thrown by a JAX-WS Implementation will cause a roll back
> of the message.
> There is no way to distinquish between checked exceptions and runtime
> exceptions. It would be ideal to be able to have jms services return a
> normal soap fault message in a reply for checked exceptions defined on the
> interface, and for runtime exceptions to rollback the message.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)