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

Missing converter for PDQ continuation protocol #460

Open
jkiddo opened this issue Sep 30, 2024 · 3 comments
Open

Missing converter for PDQ continuation protocol #460

jkiddo opened this issue Sep 30, 2024 · 3 comments
Assignees

Comments

@jkiddo
Copy link

jkiddo commented Sep 30, 2024

We're seeing the following error when using the PDQv3 continuation flow:

Caused by: org.apache.camel.InvalidPayloadException: No body available of type: net.ihe.gazelle.hl7v3.quqiin000003UV01.QUQIIN000003UV01Type but has type: java.lang.String on: Message. Caused by: No type converter available to convert from type: java.lang.String to the required type: net.ihe.gazelle.hl7v3.quqiin000003UV01.QUQIIN000003UV01Type. Exchange[E39DC8466F4F76B-0000000000000005]. Caused by: [org.apache.camel.NoTypeConversionAvailableException - No type converter available to convert from type: java.lang.String to the required type: net.ihe.gazelle.hl7v3.quqiin000003UV01.QUQIIN000003UV01Type]
	at org.apache.camel.support.MessageSupport.getMandatoryBody(MessageSupport.java:128) ~[camel-support-4.4.2.jar:4.4.2]
	at org.apache.camel.support.builder.ExpressionBuilder$39.evaluate(ExpressionBuilder.java:1385) ~[camel-support-4.4.2.jar:4.4.2]
	... 160 common frames omitted
Caused by: org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: java.lang.String to the required type: net.ihe.gazelle.hl7v3.quqiin000003UV01.QUQIIN000003UV01Type
	at org.apache.camel.impl.converter.CoreTypeConverterRegistry.mandatoryConvertTo(CoreTypeConverterRegistry.java:199) ~[camel-base-4.4.2.jar:4.4.2]
	at org.apache.camel.support.MessageSupport.getMandatoryBody(MessageSupport.java:126) ~[camel-support-4.4.2.jar:4.4.2]
	... 161 common frames omitted

Would that be a feature request or is there something we're missing to wire up?

@jkiddo
Copy link
Author

jkiddo commented Sep 30, 2024

@unixoid would you know?

@unixoid
Copy link
Member

unixoid commented Sep 30, 2024

Already working on it :)

@unixoid unixoid self-assigned this Sep 30, 2024
@unixoid
Copy link
Member

unixoid commented Sep 30, 2024

@jkiddo I revised the Camel converters for HL7v3 messages and added missing ones (actually, for ITI-44 and ITI-46, as well as for continuation/cancel messages of ITI-47). Additionally, updated sequence diagrams in documentation.

unixoid added a commit that referenced this issue Oct 11, 2024
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

2 participants