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

Robbie Gemmell closed PROTON-1297.
----------------------------------
    Resolution: Won't Fix

Closing, the Messenger API was deprecated in proton-j in the 0.16.0 release 
(via PROTON-1361) and removed from proton-j in 0.17.0 (via PROTON-1362).

> proton-j Messenger not passing user:pass to remote broker
> ---------------------------------------------------------
>
>                 Key: PROTON-1297
>                 URL: https://issues.apache.org/jira/browse/PROTON-1297
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: 0.14.0
>            Reporter: Matt Pavlovich
>              Labels: messenger
>
> Test environment: ActiveMQ amqp listener on :5672
> The test below fails if username+password authentication is enabled on the 
> remote broker. Appears that proton-j is ignoring the username and password 
> fields in the URI.
> {noformat}
>       @Test
>       public void testProduceMsg() throws Exception {
>               String[] bodies = new String[] { "Hello World!" };
>               Address addr = new 
> Address("amqp://admin:admin@localhost:5672/Foo.Bar");
>               Messenger mng = new MessengerImpl();
>               mng.start();
>               Message msg = new MessageImpl();
>               System.out.println("Addr: " + addr.toString());
>               msg.setAddress(addr.toString());
>               for (String body : bodies) {
>                       msg.setBody(new AmqpValue(body));
>                       mng.put(msg);
>               }
>               mng.send();
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to