Skip to content

Commit

Permalink
bugfix error handler non default
Browse files Browse the repository at this point in the history
  • Loading branch information
jcastro committed May 9, 2022
1 parent bda1799 commit cd1cd0f
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 2 deletions.
Binary file removed dist/camel-xml2dsl-0.0.23.tar.gz
Binary file not shown.
Binary file added dist/camel-xml2dsl-0.0.24.tar.gz
Binary file not shown.
Binary file removed dist/camel_xml2dsl-0.0.23-py3-none-any.whl
Binary file not shown.
Binary file added dist/camel_xml2dsl-0.0.24-py3-none-any.whl
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = camel-xml2dsl
version = 0.0.23
version = 0.0.24
author = Jorge Castro
author_email = [email protected]
description = xml definition to dsl definition routes
Expand Down
2 changes: 1 addition & 1 deletion src/camel_xml2dsl.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: camel-xml2dsl
Version: 0.0.23
Version: 0.0.24
Summary: xml definition to dsl definition routes
Home-page: https://github.com/jorgecastro05/script-aro.git
Author: Jorge Castro
Expand Down
2 changes: 2 additions & 0 deletions src/xml2dsl/xml2dsl.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def recipientList_def(self, node):
def errorHandler_def(self, node):
if node.attrib['type'] == "DefaultErrorHandler":
return "\ndefaultErrorHandler().setRedeliveryPolicy(policy);"
else:
return ""

def redeliveryPolicyProfile_def(self, node):
policy_def = "\nRedeliveryPolicy policy = new RedeliveryPolicy()"
Expand Down

0 comments on commit cd1cd0f

Please sign in to comment.