Re: Unsupported AMQP attempted

2023-11-07 Thread Alec
Ah no wonder. Thanks for your sharing. It is really huge helpful!

On Tue, Nov 7, 2023 at 7:23 PM Robbie Gemmell 
wrote:

> The C examples dont set credentials and will use a bare AMQP
> connection without them, meaning without establishing the SASL layer
> first, with your note of AMQP,0,1,0,0 (the 'bare' AMQP 1.0 header)
> confirming it.
> http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-security-v1.0-os.html#section-sasl
> .
> If the server doesnt allow/support that type of raw unauthenticated
> connection, as I believe activemq 5 doesnt by default, then it would
> be expected to refuse the connection and indicate it needs the SASL
> layer by sending its header back (AMQP,3,1,0,0). I expect that what
> happened here.
>
> The simplest change is likely to provide any credentials required, e.g
> see
> https://qpid.apache.org/releases/qpid-proton-0.39.0/proton/c/api/group__connection.html#gafb84dd2ef7551ad864be08cb31010d19
> .
> You could alternatively explicitly enable the sasl layer to e.g do
> ANONYMOUS sasl, or configure the broker to actually allow the raw
> connections.
>
> On Tue, 7 Nov 2023 at 09:39, Alec Finexus  wrote:
> >
> > Hi Qpid Apacha team,
> >
> > I am using pqid proton C 0.40.0-Dev with Apache ActiveMQ 5.18.2.
> > When I tried to execute the send program, I encountered error "Connection
> > from client using unsupported AMQP attempted" which I am confused because
> > the paid proton C is using AMQP,0,1,0,0 which should be matching AMQP
> v1.0.
> >
> > Same goes to the receive program. Kindly advise on this case. Thanks
> >
> > Best Regards
> > Alec
>
> -
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>
>


[ANNOUNCE] Apache Qpid protonj2 1.0.0-M18 released

2023-11-07 Thread Timothy Bish
The Apache Qpid (http://qpid.apache.org) community is pleased to
announce the immediate availability of Apache protonj2 1.0.0-M18.

This is the latest release of our AMQP Java client supporting the
Advanced Message Queuing Protocol 1.0 (AMQP 1.0, ISO/IEC 19464,
http://www.amqp.org), based around the Apache Qpid ProtonJ2 protocol
engine also contained in this release.

The release is available now from our website:
http://qpid.apache.org/download.html

Binaries are also available via Maven Central:
http://qpid.apache.org/maven.html

Release notes can be found at:
http://qpid.apache.org/releases/qpid-protonj2-1.0.0-M18/release-notes.html

Thanks to all involved,

-
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org



[RESULT][VOTE] Release Apache Qpid protonj2 1.0.0-M18

2023-11-07 Thread Timothy Bish
There were 4 binding +1 votes, and one other vote received. The vote has 
passed.


I will add the files to the dist release repo and release the maven
staging repo shortly. The website will be updated after the release
has had time to sync to the mirrors and maven central.

--
Tim Bish


-
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org



Re: Unsupported AMQP attempted

2023-11-07 Thread Robbie Gemmell
The C examples dont set credentials and will use a bare AMQP
connection without them, meaning without establishing the SASL layer
first, with your note of AMQP,0,1,0,0 (the 'bare' AMQP 1.0 header)
confirming it. 
http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-security-v1.0-os.html#section-sasl.
If the server doesnt allow/support that type of raw unauthenticated
connection, as I believe activemq 5 doesnt by default, then it would
be expected to refuse the connection and indicate it needs the SASL
layer by sending its header back (AMQP,3,1,0,0). I expect that what
happened here.

The simplest change is likely to provide any credentials required, e.g
see 
https://qpid.apache.org/releases/qpid-proton-0.39.0/proton/c/api/group__connection.html#gafb84dd2ef7551ad864be08cb31010d19.
You could alternatively explicitly enable the sasl layer to e.g do
ANONYMOUS sasl, or configure the broker to actually allow the raw
connections.

On Tue, 7 Nov 2023 at 09:39, Alec Finexus  wrote:
>
> Hi Qpid Apacha team,
>
> I am using pqid proton C 0.40.0-Dev with Apache ActiveMQ 5.18.2.
> When I tried to execute the send program, I encountered error "Connection
> from client using unsupported AMQP attempted" which I am confused because
> the paid proton C is using AMQP,0,1,0,0 which should be matching AMQP v1.0.
>
> Same goes to the receive program. Kindly advise on this case. Thanks
>
> Best Regards
> Alec

-
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org



Unsupported AMQP attempted

2023-11-07 Thread Alec Finexus
Hi Qpid Apacha team,

I am using pqid proton C 0.40.0-Dev with Apache ActiveMQ 5.18.2.
When I tried to execute the send program, I encountered error "Connection
from client using unsupported AMQP attempted" which I am confused because
the paid proton C is using AMQP,0,1,0,0 which should be matching AMQP v1.0.

Same goes to the receive program. Kindly advise on this case. Thanks

Best Regards
Alec