This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 01d6e10ad40cc124a6ea811e678314b1b51746ed Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Wed Jun 22 13:05:27 2022 +0200 (chores) camel-sjms: removed unused parameters --- .../src/main/java/org/apache/camel/component/sjms/jms/JmsBinding.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/jms/JmsBinding.java b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/jms/JmsBinding.java index e68d256f89e..94c86b55060 100644 --- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/jms/JmsBinding.java +++ b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/jms/JmsBinding.java @@ -381,7 +381,7 @@ public class JmsBinding { throw new JMSException("Cannot send message as message body is null, and option allowNullBody is false."); } LOG.trace("Using JmsMessageType: {}", type); - Message answer = createJmsMessageForType(exchange, body, headers, session, context, type); + Message answer = createJmsMessageForType(exchange, body, session, context, type); // ensure default delivery mode is used by default answer.setJMSDeliveryMode(Message.DEFAULT_DELIVERY_MODE); return answer; @@ -441,7 +441,7 @@ public class JmsBinding { * @return jmsMessage or null if the mapping was not successfully */ protected Message createJmsMessageForType( - Exchange exchange, Object body, Map<String, Object> headers, Session session, CamelContext context, + Exchange exchange, Object body, Session session, CamelContext context, JmsMessageType type) throws JMSException { switch (type) {
