OpenGuidou opened a new pull request #6268: URL: https://github.com/apache/camel/pull/6268
Camel headers are defined as Map<String, Object>, and Nats headers as Map<String, List<Object>>. When doing a round trip to nats via camel, the following header: Header 1 - Value 1 becomes Header 1 - [Value 1]. The best way I could find to remove this invalid behavior is to transform the singleton lists in their first element when mapping the headers from nats header to camel header. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
