[[WhydoesuseOriginalMessagewitherrorhandlernotworkasexpected-WhydoesuseOriginalMessagewitherrorhandlernotworkasexpected]]
= Why does useOriginalMessage with error handler not work as expected?

If you use the xref:exception-clause.adoc[useOriginalMessage] option
from the Camel xref:exception-clause.adoc[Error Handler] then it matters
if you use this with xref:enterprise-integration-patterns.adoc[EIP]s such as:

* xref:recipientList-eip.adoc[Recipient List]
* xref:split-eip.adoc[Splitter]
* xref:multicast-eip.adoc[Multicast]

Then the option `shareUnitOfWork` on these xref:enterprise-integration-patterns.adoc[EIP]s
influence the message in use by the `useOriginalMessage` option.

See more details at xref:split-eip.adoc[Splitter] and further below with
the examples explaining this in more detail.
