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

unmarshal hangs camel process if using true/false on int field #504

Open
dbrmantech opened this issue Sep 25, 2024 · 0 comments
Open

unmarshal hangs camel process if using true/false on int field #504

dbrmantech opened this issue Sep 25, 2024 · 0 comments

Comments

@dbrmantech
Copy link

Recently upgraded to karaf 4.4.6 and camel 4.7.

We found out the hard way that we had some bugs in our XSLT. It was generating XML like this:

<ITAsset (snip)>
	<vulnerability>
		<exploitAvailable>false</exploitAvailable>
	</vulnerability>
</ITAsset>

exploitAvailable in the vuln bean is an int. Oops.

We unmarshal to our java objects like this in our XML blueprints:

	<unmarshal>
		<jaxb prettyPrint="false" contextPath="foo.model"/>
	</unmarshal>

With true or false, It just hangs silently, never returns. If we pass an int, all is well.

Is this a known issue? Is there a work around or some config we could set so if we goof again, it gives us some error message instead of a silent hang?

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

No branches or pull requests

1 participant