-
I have a old code for camel cxf with the method "getAttachments()", but it's seem this method not exists anymore: public void sendBean(Exchange exchange, Object bean) {
if (exchange.getIn().getAttachments() != null) {
exchange.getOut().setAttachments(exchange.getIn().getAttachments());
}
if (exchange.getIn().getHeaders() != null) {
exchange.getOut().getHeaders().putAll(exchange.getIn().getHeaders());
}
exchange.getOut().setBody(bean);
} how can i updated this code for quarkus ? |
Beta Was this translation helpful? Give feedback.
Answered by
p4535992
Mar 1, 2024
Replies: 1 comment
-
nevermind find the solution by myself:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
p4535992
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nevermind find the solution by myself: