Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C0AB717CE7 for ; Tue, 11 Nov 2014 07:59:55 +0000 (UTC) Received: (qmail 85921 invoked by uid 500); 11 Nov 2014 07:59:55 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 85874 invoked by uid 500); 11 Nov 2014 07:59:55 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 34377 invoked by uid 99); 11 Nov 2014 07:22:34 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_HELO_PASS,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of ahmad.abed@gmail.com does not designate 162.253.133.43 as permitted sender) Date: Tue, 11 Nov 2014 00:21:06 -0700 (MST) From: "ahmad.abed" To: users@camel.apache.org Message-ID: <1415690466087-5758877.post@n5.nabble.com> Subject: Active MQ - Camel Digital signature verification not working with ActiveMQ 5.10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Environment : Windows 7 64 Bit java version "1.7.0_21" ActiveMQ 5.10 with camel 2.13.1 using following camel route is failed during (crypto:verify) : Error during digital signature verification : INFO | jvm 1 | 2014/11/10 15:07:02 | ERROR | Failed delivery for (MessageId: queue_SSLTEST.ssl1_ID_Ahmad-LPT-3363-1415621206712-5_1_1_1_1 on ExchangeId: ID-Ahmad-LPT-3368-1415621207974-0-1). Exhausted after delivery attempt: 1 caught: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[JmsMessage[JmsMessageID: ID:Ahmad-LPT-3363-1415621206712-5:1:1:1:1]] INFO | jvm 1 | 2014/11/10 15:07:02 | INFO | jvm 1 | 2014/11/10 15:07:02 | Message History INFO | jvm 1 | 2014/11/10 15:07:02 | --------------------------------------------------------------------------------------------------------------------------------------- INFO | jvm 1 | 2014/11/10 15:07:02 | RouteId ProcessorId Processor Elapsed (ms) INFO | jvm 1 | 2014/11/10 15:07:02 | [TestSSL ] [TestSSL ] [activemq://queue:SSLTEST.ssl1 ] [ 58] INFO | jvm 1 | 2014/11/10 15:07:02 | [TestSSL ] [to1 ] crypto:sign://keystore?keystore=#myKeystore&alias=system_a&password=keyPasswor [ 40] INFO | jvm 1 | 2014/11/10 15:07:02 | [TestSSL ] [to2 ] crypto:verify//keystore?keystore=#myTruststore&alias=system_a [ 5] INFO | jvm 1 | 2014/11/10 15:07:02 | INFO | jvm 1 | 2014/11/10 15:07:02 | Exchange INFO | jvm 1 | 2014/11/10 15:07:02 | --------------------------------------------------------------------------------------------------------------------------------------- INFO | jvm 1 | 2014/11/10 15:07:02 | Exchange[ INFO | jvm 1 | 2014/11/10 15:07:02 | Id ID-Ahmad-LPT-3368-1415621207974-0-1 INFO | jvm 1 | 2014/11/10 15:07:02 | ExchangePattern InOnly INFO | jvm 1 | 2014/11/10 15:07:02 | Headers {breadcrumbId=ID:Ahmad-LPT-3363-1415621206712-5:1:1:1:1, CamelDigitalSignature=[B@2081df09, CamelRedelivered=false, CamelRedeliveryCounter=0, JMSCorrelationID=, JMSDeliveryMode=1, JMSDestination=queue://SSLTEST.ssl1, JMSExpiration=0, JMSMessageID=ID:Ahmad-LPT-3363-1415621206712-5:1:1:1:1, JMSPriority=0, JMSRedelivered=false, JMSReplyTo=null, JMSTimestamp=1415621221993, JMSType=, JMSXGroupID=null, JMSXUserID=null} INFO | jvm 1 | 2014/11/10 15:07:02 | BodyType String INFO | jvm 1 | 2014/11/10 15:07:02 | Body Enter some text here for the message body... INFO | jvm 1 | 2014/11/10 15:07:02 | ] INFO | jvm 1 | 2014/11/10 15:07:02 | INFO | jvm 1 | 2014/11/10 15:07:02 | Stacktrace INFO | jvm 1 | 2014/11/10 15:07:02 | --------------------------------------------------------------------------------------------------------------------------------------- INFO | jvm 1 | 2014/11/10 15:07:02 | org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[JmsMessage[JmsMessageID: ID:Ahmad-LPT-3363-1415621206712-5:1:1:1:1]] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1379)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.impl.DefaultExchange.setException(DefaultExchange.java:283)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:64)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:113)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:105)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:103)[camel-jms-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:562)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:500)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:468)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:243)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1101)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1093)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:990)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_21] INFO | jvm 1 | 2014/11/10 15:07:02 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_21] INFO | jvm 1 | 2014/11/10 15:07:02 | at java.lang.Thread.run(Thread.java:722)[:1.7.0_21] INFO | jvm 1 | 2014/11/10 15:07:02 | WARN | Execution of JMS message listener failed. Caused by: [org.apache.camel.CamelExecutionException - Exception occurred during execution on the exchange: Exchange[JmsMessage[JmsMessageID: ID:Ahmad-LPT-3363-1415621206712-5:1:1:1:1]]] INFO | jvm 1 | 2014/11/10 15:07:02 | org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[JmsMessage[JmsMessageID: ID:Ahmad-LPT-3363-1415621206712-5:1:1:1:1]] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1379)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.impl.DefaultExchange.setException(DefaultExchange.java:283)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:64)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:113)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:105)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87)[camel-core-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:103)[camel-jms-2.13.1.jar:2.13.1] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:562)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:500)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:468)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:243)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1101)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1093)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:990)[spring-jms-3.2.8.RELEASE.jar:3.2.8.RELEASE] INFO | jvm 1 | 2014/11/10 15:07:02 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_21] INFO | jvm 1 | 2014/11/10 15:07:02 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_21] INFO | jvm 1 | 2014/11/10 15:07:02 | at java.lang.Thread.run(Thread.java:722)[:1.7.0_21] -- View this message in context: http://camel.465427.n5.nabble.com/Active-MQ-Camel-Digital-signature-verification-not-working-with-ActiveMQ-5-10-tp5758877.html Sent from the Camel - Users mailing list archive at Nabble.com.