-
Notifications
You must be signed in to change notification settings - Fork 52
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
Fix apache/camel-k#1119: do not return cloud events by default #208
Conversation
|
||
// remove CloudEvent headers | ||
for (CloudEvent.Attribute attr : cloudEventProcessor.cloudEvent().attributes()) { | ||
exchange.getMessage().removeHeader(attr.http()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be part of the transport processor ? as it is the only one that know how headers are mapped
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, let me move it
How does it look? |
better :) wonder if |
It seems strange as service metadata, since they are computed externally. And it tracks the I also don't like it a lot.. suggestions? |
leave it as it is for the moment, at least till we rewrite the component once more :) |
ok to test |
Refer to this link for build results (access rights to CI server needed): |
and deprecate automatic json serialization.