You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2019/08/19 18:30:00 UTC
[jira] [Commented] (CAMEL-13873) Unable to connect to Corda Node
via RPC
[ https://issues.apache.org/jira/browse/CAMEL-13873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16910635#comment-16910635 ]
Claus Ibsen commented on CAMEL-13873:
-------------------------------------
It should be & instead of ? at "?operation=NODE_INFO"
> 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: Major
>
> 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
(v8.3.2#803003)