Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
3.0.0.M4
-
None
-
None
-
Unknown
Description
I was trying out the Apache Camel component to test connection to a Corda node.
As per the readme, to test connection with the node and get basic info (https://github.com/apache/camel/blob/master/components/camel-corda/src/main/docs/corda-component.adoc)
This is what I have in configure() of my RouteBuilderImpl
from("direct:start").to("corda://localhost:10008?username=user1&password=test" +
"?operation=NODE_INFO");
I get the following error: Caused by: org.apache.camel.RuntimeCamelException: ActiveMQSecurityException[errorType=SECURITY_EXCEPTION message=AMQ119031: Unable to validate user]
Stacktrace: https://gist.github.com/amolpednekar/b42534a30c2f84b203f4e04b33da844d
My java class : https://gist.github.com/amolpednekar/bc07cca702763f9b4c93617abb4cd73d
Its definitely not a problem with the credentials I'm passing, as I tried connecting with a stanalone Java RPC client, and it works fine with the exact same creds.
Corda version: 3.3 open source