oscerd commented on issue #1501: URL: https://github.com/apache/camel-kafka-connector/issues/1501#issuecomment-6632198107
Sorry this went unanswered. Camel's JMS component never takes `JMSMessageID`, `JMSTimestamp` or `JMSRedelivered` from headers, because the JMS provider assigns them when the message is sent, while `JMSExpiration`, `JMSPriority` and `JMSDeliveryMode` are only used for the send when the `preserveMessageQos` option is enabled (`JMSExpiration` is an absolute time in epoch milliseconds). The ActiveMQ (Classic) connector was removed when camel-kafka-connector moved to Camel 4; with the 4.22.x JMS sinks (camel-jms-apache-artemis-sink, camel-jms-pooled-apache-artemis-sink or camel-jms-amqp-10-sink) you can send Kafka headers such as `CamelHeader.JMSPriority` or `CamelHeader.JMSExpiration` and set `camel.component.jms.preserveMessageQos=true` in the connector configuration. Closing this as answered; if it does not work on 4.22.x, please open a new issue with your configuration and the headers you send. --- _Claude Code on behalf of Andrea Cosentino_ -- 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]
