camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ahmad.abed" <ahmad.a...@gmail.com>
Subject Active MQ - Camel Digital signature verification not working with ActiveMQ 5.10
Date Tue, 11 Nov 2014 07:21:06 GMT
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) :

<route id="TestSSL" trace="true">
<from uri="activemq:queue:SSLTEST.ssl1" />
<to
uri="crypto:sign://keystore?keystore=#myKeystore&alias=system_a&password=keyPasswordA"/>
<to uri="crypto:verify//keystore?keystore=#myTruststore&alias=system_a"/>
<to uri="file://C:/SslTest" />
</route>
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.

Mime
View raw message