|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (CAMEL-1799) Spring DSL - Add error handler DSL support so we avoid having to use spring bean styleSpring DSL - Add error handler DSL support so we avoid having to use spring bean style
-------------------------------------------------------------------------------------- Key: CAMEL-1799 URL: https://issues.apache.org/activemq/browse/CAMEL-1799 Project: Apache Camel Issue Type: New Feature Components: camel-spring Affects Versions: 2.0-M2 Reporter: Claus Ibsen We could use an DSL for error handling in Spring DSL Then we can use the <redeliveryPolicy/> tag as well. And have an enum to specify the type in case we want a dead letter channel instead or transactional instead {code:xml} <errorHandler type="DeadLetterChannel"> <deadLetter uri="log:dead"/> <redeliveryPolicy maximumRedeliveries="5" logStackTrace="true" backOffMultiplier="2"/> </errorHandler> {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (CAMEL-1799) Spring DSL - Add error handler DSL support so we avoid having to use spring bean style[ https://issues.apache.org/activemq/browse/CAMEL-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52701#action_52701 ] Claus Ibsen commented on CAMEL-1799: ------------------------------------ Currently it is a bit verbose and its the only feature in Spring DSL that requires to use spring bean style. > Spring DSL - Add error handler DSL support so we avoid having to use spring bean style > -------------------------------------------------------------------------------------- > > Key: CAMEL-1799 > URL: https://issues.apache.org/activemq/browse/CAMEL-1799 > Project: Apache Camel > Issue Type: New Feature > Components: camel-spring > Affects Versions: 2.0-M2 > Reporter: Claus Ibsen > > We could use an DSL for error handling in Spring DSL > Then we can use the <redeliveryPolicy/> tag as well. And have an enum to specify the type in case we want a dead letter channel instead or transactional instead > {code:xml} > <errorHandler type="DeadLetterChannel"> > <deadLetter uri="log:dead"/> > <redeliveryPolicy maximumRedeliveries="5" logStackTrace="true" backOffMultiplier="2"/> > </errorHandler> > {code} > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (CAMEL-1799) Spring DSL - Add error handler DSL support so we avoid having to use spring bean style[ https://issues.apache.org/activemq/browse/CAMEL-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52702#action_52702 ] Claus Ibsen commented on CAMEL-1799: ------------------------------------ And you can define multiple of them with unique ids that you can refer to in the routes {code} <route errorHandlerRef="myErrorHandler"> ... </route> <route errorHandlerRef="myOtherErrorHandler"> ... </route> {code} > Spring DSL - Add error handler DSL support so we avoid having to use spring bean style > -------------------------------------------------------------------------------------- > > Key: CAMEL-1799 > URL: https://issues.apache.org/activemq/browse/CAMEL-1799 > Project: Apache Camel > Issue Type: New Feature > Components: camel-spring > Affects Versions: 2.0-M2 > Reporter: Claus Ibsen > > We could use an DSL for error handling in Spring DSL > Then we can use the <redeliveryPolicy/> tag as well. And have an enum to specify the type in case we want a dead letter channel instead or transactional instead > {code:xml} > <errorHandler id="myErrorHandler" type="DeadLetterChannel"> > <deadLetter uri="log:dead"/> > <redeliveryPolicy maximumRedeliveries="5" logStackTrace="true" backOffMultiplier="2"/> > </errorHandler> > {code} > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Updated: (CAMEL-1799) Spring DSL - Add error handler DSL support so we avoid having to use spring bean style[ https://issues.apache.org/activemq/browse/CAMEL-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-1799: ------------------------------- Description: We could use an DSL for error handling in Spring DSL Then we can use the <redeliveryPolicy/> tag as well. And have an enum to specify the type in case we want a dead letter channel instead or transactional instead {code:xml} <errorHandler id="myErrorHandler" type="DeadLetterChannel"> <deadLetter uri="log:dead"/> <redeliveryPolicy maximumRedeliveries="5" logStackTrace="true" backOffMultiplier="2"/> </errorHandler> {code} was: We could use an DSL for error handling in Spring DSL Then we can use the <redeliveryPolicy/> tag as well. And have an enum to specify the type in case we want a dead letter channel instead or transactional instead {code:xml} <errorHandler type="DeadLetterChannel"> <deadLetter uri="log:dead"/> <redeliveryPolicy maximumRedeliveries="5" logStackTrace="true" backOffMultiplier="2"/> </errorHandler> {code} > Spring DSL - Add error handler DSL support so we avoid having to use spring bean style > -------------------------------------------------------------------------------------- > > Key: CAMEL-1799 > URL: https://issues.apache.org/activemq/browse/CAMEL-1799 > Project: Apache Camel > Issue Type: New Feature > Components: camel-spring > Affects Versions: 2.0-M2 > Reporter: Claus Ibsen > > We could use an DSL for error handling in Spring DSL > Then we can use the <redeliveryPolicy/> tag as well. And have an enum to specify the type in case we want a dead letter channel instead or transactional instead > {code:xml} > <errorHandler id="myErrorHandler" type="DeadLetterChannel"> > <deadLetter uri="log:dead"/> > <redeliveryPolicy maximumRedeliveries="5" logStackTrace="true" backOffMultiplier="2"/> > </errorHandler> > {code} > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Updated: (CAMEL-1799) Spring DSL - Add error handler DSL support so we avoid having to use spring bean style[ https://issues.apache.org/activemq/browse/CAMEL-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-1799: ------------------------------- Fix Version/s: Future > Spring DSL - Add error handler DSL support so we avoid having to use spring bean style > -------------------------------------------------------------------------------------- > > Key: CAMEL-1799 > URL: https://issues.apache.org/activemq/browse/CAMEL-1799 > Project: Apache Camel > Issue Type: New Feature > Components: camel-spring > Affects Versions: 2.0-M2 > Reporter: Claus Ibsen > Fix For: Future > > > We could use an DSL for error handling in Spring DSL > Then we can use the <redeliveryPolicy/> tag as well. And have an enum to specify the type in case we want a dead letter channel instead or transactional instead > {code:xml} > <errorHandler id="myErrorHandler" type="DeadLetterChannel"> > <deadLetter uri="log:dead"/> > <redeliveryPolicy maximumRedeliveries="5" logStackTrace="true" backOffMultiplier="2"/> > </errorHandler> > {code} > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free embeddable forum powered by Nabble | Forum Help |