Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XmlToJson]Different output at certain message body #334

Closed
Hooghof opened this issue Dec 19, 2024 · 0 comments · Fixed by assimbly/custom-components#136
Closed

[XmlToJson]Different output at certain message body #334

Hooghof opened this issue Dec 19, 2024 · 0 comments · Fixed by assimbly/custom-components#136
Assignees
Labels
accepted bug Something isn't working support (Jira)
Milestone

Comments

@Hooghof
Copy link

Hooghof commented Dec 19, 2024

This following xml message body transforms in Camel 4 not equal to Camel 2:

<rmessage RESTgroupId="40000">
   <orderStatus>O</orderStatus>
</rmessage>

The settings of the XmlToJson component are:

Image

This is the expected result:

{
    "@RESTgroupId": "40000",
    "#text": "   ",
    "orderStatus": "O"
}

This is the result in Camel 4:

[
    "O"
]

https://dovetailworld.atlassian.net/browse/DOV-2195

@Hooghof Hooghof added bug Something isn't working support (Jira) labels Dec 19, 2024
@Hooghof Hooghof added this to the 5.0.2 milestone Dec 19, 2024
@brunovg brunovg self-assigned this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted bug Something isn't working support (Jira)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants