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

[JsonToXml]Different output at certain message body #347

Closed
Hooghof opened this issue Jan 23, 2025 · 0 comments · Fixed by assimbly/custom-components#141
Closed

[JsonToXml]Different output at certain message body #347

Hooghof opened this issue Jan 23, 2025 · 0 comments · Fixed by assimbly/custom-components#141

Comments

@Hooghof
Copy link

Hooghof commented Jan 23, 2025

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

{
    "test": null
}

The settings of the JsonTo Xml component are:

Image

This is the expected result (Camel 2):

<?xml version="1.0" encoding="UTF-8"?>
<root><test json_null="true"/></root>

This is the result in Camel 4:

<?xml version="1.0" encoding="UTF-8"?>
<root>
    <test>null</test>
</root>

In other combinations of options, the output of the Camel 4 component differs from Camel 2 as well.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants