camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Created: (CAMEL-1120) Getting exception message using builder
Date Wed, 26 Nov 2008 10:33:05 GMT
Getting exception message using builder

                 Key: CAMEL-1120
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.0.0

The exception clause below

Instead of returning the constant Sorry we want to return the exception message, instead of
using a processor, bean etc. we want some value builder in BuilderSupport so you can do it

And also add variables to the exception message in the simple language so you can do something
like this:
                        .transform().simple("Error reported ${exception.message} - can not
process this message.");

Then the caller will receive the response we have created there instead of the MyFunctionalException

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message