[ 
https://issues.apache.org/jira/browse/CAMEL-13873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amol Pednekar updated CAMEL-13873:
----------------------------------
    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

  was:
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.

 


> Unable to connect to Corda Node via RPC
> ---------------------------------------
>
>                 Key: CAMEL-13873
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13873
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-corda
>    Affects Versions: 3.0.0.M4
>            Reporter: Amol Pednekar
>            Priority: Critical
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to