[jira] [Updated] (CAMEL-20795) camel-nats - NATS Credential file support

2024-05-22 Thread Andrea Cosentino (Jira)


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

Andrea Cosentino updated CAMEL-20795:
-
Fix Version/s: 4.7.0
   (was: 4.x)

> camel-nats - NATS Credential file support
> -
>
> Key: CAMEL-20795
> URL: https://issues.apache.org/jira/browse/CAMEL-20795
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-nats
>Affects Versions: 4.6.0
>Reporter: Mikael Koskinen
>Assignee: Andrea Cosentino
>Priority: Minor
> Fix For: 4.7.0
>
>
> NATS component currently supports username/password and Token-authentication. 
> Unfortunately all the NATS cloud providers (Scaleway, Synadia) use credential 
> files for authentication. So currently it is not possible to connect NATS 
> component to these hosted NATS solutions.
> Would it be possible to update the NATS component so that it would support 
> the credentials file authentication?
> NATS documentation provides an example of how to connect to a NATS server 
> using the credentials file:
>  
> {code:java}
> Options options = new Options.Builder().
>             server("nats://localhost:4222").
>             authHandler(Nats.credentials("path_to_creds_file")).
>             build();
> Connection nc = Nats.connect(options);
> // Do something with the connection
> nc.close();
> {code}
>  
>  
> This was previously discussed on of 
> https://issues.apache.org/jira/browse/CAMEL-17066



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (CAMEL-20795) camel-nats - NATS Credential file support

2024-05-22 Thread Claus Ibsen (Jira)


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

Claus Ibsen updated CAMEL-20795:

Summary: camel-nats - NATS Credential file support  (was: NATS Credential 
file support)

> camel-nats - NATS Credential file support
> -
>
> Key: CAMEL-20795
> URL: https://issues.apache.org/jira/browse/CAMEL-20795
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-nats
>Affects Versions: 4.6.0
>Reporter: Mikael Koskinen
>Priority: Minor
> Fix For: 4.x
>
>
> NATS component currently supports username/password and Token-authentication. 
> Unfortunately all the NATS cloud providers (Scaleway, Synadia) use credential 
> files for authentication. So currently it is not possible to connect NATS 
> component to these hosted NATS solutions.
> Would it be possible to update the NATS component so that it would support 
> the credentials file authentication?
> NATS documentation provides an example of how to connect to a NATS server 
> using the credentials file:
>  
> {code:java}
> Options options = new Options.Builder().
>             server("nats://localhost:4222").
>             authHandler(Nats.credentials("path_to_creds_file")).
>             build();
> Connection nc = Nats.connect(options);
> // Do something with the connection
> nc.close();
> {code}
>  
>  
> This was previously discussed on of 
> https://issues.apache.org/jira/browse/CAMEL-17066



--
This message was sent by Atlassian Jira
(v8.20.10#820010)