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

Auto select message type for validation #218

Closed
christophd opened this Issue Mar 7, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@christophd
Member

christophd commented Mar 7, 2017

XML is the default message type in Citrus. We should add auto select of message type based on incoming payload.

XML messages usually start with "<" or processing instruction. Json payloads usually start with "{" object or "[" array characters.

Based on that we should be able to guess the message type so no "Unexpected content in prolog" errors anymore when accidently trying to parse non-xml payloads

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