BrokerJ + Oauth2 max frame size
we are exploring the use of Oauth2 with Qpid BrokerJ. We use okta but its all openid and the keycloak provider seems like it might work for us. we are referencing this confluence article about how to configure the qpid jms client to update the token as it expires https://cwiki.apache.org/confluence/display/qpid/XOAUTH2+SASL+Mechanism+and+token+expiration oauth jwt tokens can be BIG!!! here is the error 2023-05-18T20:29:10,377Z WARN [IO-/172.22.0.1:59090] (o.a.q.s.p.v.f.FrameHandler) - Unexpected exception handling frame org.apache.qpid.server.util.ConnectionScopedRuntimeException: Connection is closed before being fully established: specified frame size 5007 larger than maximum frame header size 4096 at org.apache.qpid.server.protocol.v1_0.AMQPConnection_1_0Impl.closeConnection(AMQPConnection_1_0Impl.java:1172) at org.apache.qpid.server.protocol.v1_0.AMQPConnection_1_0Impl.handleError(AMQPConnection_1_0Impl.java:785) at org.apache.qpid.server.protocol.v1_0.framing.FrameHandler.parse(FrameHandler.java:219) at org.apache.qpid.server.protocol.v1_0.AMQPConnection_1_0Impl.onReceive(AMQPConnection_1_0Impl.java:1309) at as we are exploring this the problem we are running into seems to be that the SASL frames are too big. and when we configure the max frame size on the connection string that isnt configured until the Open frame is received but that all is after the SASL. im wondering if there is a way to configure the max frame size of the SASL frames or if there is a way to configure the default/initial max frame size of BrokerJ. https://github.com/apache/qpid-broker-j/blob/9.0.0/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/AMQPConnection_1_0Impl.java#L188 or did i misunderstand / misinterpret my error and should the SASL auth all happen after the Open frame is sent? thanks
Re: [VOTE] Release Apache Qpid JMS 1.9.0
+1 * Verified the signature and checksum files * Verified LICENCE and NOTICE files in archives * Verified source license headers by 'mvn apache-rat:check' * Built from source and ran tests (mvn clean install) on OpenJDK Java 11 (11.0.18) and OpenJDK Java 17 (17.0.6) on Ubuntu 22.04.2 Regards, Tomas On 2023/05/17 16:44:40 Robbie Gemmell wrote: > Hi folks, > > I have put together a spin for a 1.9.0 Qpid JMS client release, please > give it a test out and vote accordingly. > > The staged source and binary archives can be grabbed from: > https://dist.apache.org/repos/dist/dev/qpid/jms/1.9.0-rc1/ > > The maven artifacts are also staged for now at: > https://repository.apache.org/content/repositories/orgapacheqpid-1259 > > The JIRAs assigned are: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12314524&version=12352747 > > Regards, > Robbie > > P.S. If you want to test it out using maven (e.g with the examples > src, or your own things), you can temporarily add this to your poms to > access the staging repo: > > > > staging > > https://repository.apache.org/content/repositories/orgapacheqpid-1259 > > > > The dependency for the client itself would then be: > > > org.apache.qpid > qpid-jms-client > 1.9.0 > > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: [VOTE] Release Apache Qpid JMS 2.3.0
+1 * Verified the signature and checksum files * Verified LICENCE and NOTICE files in archives * Verified source license headers by 'mvn apache-rat:check' * Built from source and ran tests (mvn clean install) on OpenJDK Java 11 (11.0.18) and OpenJDK Java 17 (17.0.6) on Ubuntu 22.04.2 Regards, Tomas On 2023/05/17 17:41:15 Robbie Gemmell wrote: > I have put together a spin for a 2.3.0 Qpid JMS client release, please > give it a test out and vote accordingly. > > The staged source and binary archives can be grabbed from: > https://dist.apache.org/repos/dist/dev/qpid/jms/2.3.0-rc1/ > > The maven artifacts are also staged for now at: > https://repository.apache.org/content/repositories/orgapacheqpid-1260 > > The JIRAs assigned are: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12314524&version=12352748 > > Regards, > Robbie > > P.S. If you want to test it out using maven (e.g with the examples > src, or your own things), you can temporarily add this to your poms to > access the staging repo: > > > > staging > > https://repository.apache.org/content/repositories/orgapacheqpid-1260 > > > > The dependency for the client itself would then be: > > > org.apache.qpid > qpid-jms-client > 2.3.0 > > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: [VOTE] Release Apache Qpid JMS 2.3.0
+1 Following checks done: - Verified the signature and checksum files - Checked for LICENCE and NOTICE files in the archives - Check headers in the source archive using "mvn apache-rat:check" - Ran the build and tests from the source archive on JDK 11 On Thu, 18 May 2023 at 12:22, Gordon Sim wrote: > > +1 (checked signature and checksum, build from source including > successful run through all tests, ran example against router 1.19.0) > > On Wed, May 17, 2023 at 6:46 PM Robbie Gemmell > wrote: > > > > I have put together a spin for a 2.3.0 Qpid JMS client release, please > > give it a test out and vote accordingly. > > > > The staged source and binary archives can be grabbed from: > > https://dist.apache.org/repos/dist/dev/qpid/jms/2.3.0-rc1/ > > > > The maven artifacts are also staged for now at: > > https://repository.apache.org/content/repositories/orgapacheqpid-1260 > > > > The JIRAs assigned are: > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12314524&version=12352748 > > > > Regards, > > Robbie > > > > P.S. If you want to test it out using maven (e.g with the examples > > src, or your own things), you can temporarily add this to your poms to > > access the staging repo: > > > > > > > > staging > > > > https://repository.apache.org/content/repositories/orgapacheqpid-1260 > > > > > > > > The dependency for the client itself would then be: > > > > > > org.apache.qpid > > qpid-jms-client > > 2.3.0 > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > > For additional commands, e-mail: users-h...@qpid.apache.org > > > > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: [VOTE] Release Apache Qpid JMS 1.9.0
+1 Following checks done: - Verified the signature and checksum files - Checked for LICENCE and NOTICE files in the archives - Check headers in the source archive using "mvn apache-rat:check" - Ran the build and tests from the source archive on JDK 11 On Thu, 18 May 2023 at 12:18, Gordon Sim wrote: > > +1 (checked signature and checksum, build from source including > successful run through all tests, ran example against router 1.19.0) > > On Wed, May 17, 2023 at 5:52 PM Robbie Gemmell > wrote: > > > > Hi folks, > > > > I have put together a spin for a 1.9.0 Qpid JMS client release, please > > give it a test out and vote accordingly. > > > > The staged source and binary archives can be grabbed from: > > https://dist.apache.org/repos/dist/dev/qpid/jms/1.9.0-rc1/ > > > > The maven artifacts are also staged for now at: > > https://repository.apache.org/content/repositories/orgapacheqpid-1259 > > > > The JIRAs assigned are: > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12314524&version=12352747 > > > > Regards, > > Robbie > > > > P.S. If you want to test it out using maven (e.g with the examples > > src, or your own things), you can temporarily add this to your poms to > > access the staging repo: > > > > > > > > staging > > > > https://repository.apache.org/content/repositories/orgapacheqpid-1259 > > > > > > > > The dependency for the client itself would then be: > > > > > > org.apache.qpid > > qpid-jms-client > > 1.9.0 > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > > For additional commands, e-mail: users-h...@qpid.apache.org > > > > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: [VOTE] Release Apache Qpid JMS 2.3.0
+1 (checked signature and checksum, build from source including successful run through all tests, ran example against router 1.19.0) On Wed, May 17, 2023 at 6:46 PM Robbie Gemmell wrote: > > I have put together a spin for a 2.3.0 Qpid JMS client release, please > give it a test out and vote accordingly. > > The staged source and binary archives can be grabbed from: > https://dist.apache.org/repos/dist/dev/qpid/jms/2.3.0-rc1/ > > The maven artifacts are also staged for now at: > https://repository.apache.org/content/repositories/orgapacheqpid-1260 > > The JIRAs assigned are: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12314524&version=12352748 > > Regards, > Robbie > > P.S. If you want to test it out using maven (e.g with the examples > src, or your own things), you can temporarily add this to your poms to > access the staging repo: > > > > staging > > https://repository.apache.org/content/repositories/orgapacheqpid-1260 > > > > The dependency for the client itself would then be: > > > org.apache.qpid > qpid-jms-client > 2.3.0 > > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: [VOTE] Release Apache Qpid JMS 1.9.0
+1 (checked signature and checksum, build from source including successful run through all tests, ran example against router 1.19.0) On Wed, May 17, 2023 at 5:52 PM Robbie Gemmell wrote: > > Hi folks, > > I have put together a spin for a 1.9.0 Qpid JMS client release, please > give it a test out and vote accordingly. > > The staged source and binary archives can be grabbed from: > https://dist.apache.org/repos/dist/dev/qpid/jms/1.9.0-rc1/ > > The maven artifacts are also staged for now at: > https://repository.apache.org/content/repositories/orgapacheqpid-1259 > > The JIRAs assigned are: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12314524&version=12352747 > > Regards, > Robbie > > P.S. If you want to test it out using maven (e.g with the examples > src, or your own things), you can temporarily add this to your poms to > access the staging repo: > > > > staging > > https://repository.apache.org/content/repositories/orgapacheqpid-1259 > > > > The dependency for the client itself would then be: > > > org.apache.qpid > qpid-jms-client > 1.9.0 > > > - > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: [VOTE] Release Apache Qpid JMS 2.3.0
On Wed, 17 May 2023 at 18:41, Robbie Gemmell wrote: > > I have put together a spin for a 2.3.0 Qpid JMS client release, please > give it a test out and vote accordingly. > > The staged source and binary archives can be grabbed from: > https://dist.apache.org/repos/dist/dev/qpid/jms/2.3.0-rc1/ > > The maven artifacts are also staged for now at: > https://repository.apache.org/content/repositories/orgapacheqpid-1260 > > The JIRAs assigned are: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12314524&version=12352748 > > Regards, > Robbie > > P.S. If you want to test it out using maven (e.g with the examples > src, or your own things), you can temporarily add this to your poms to > access the staging repo: > > > > staging > > https://repository.apache.org/content/repositories/orgapacheqpid-1260 > > > > The dependency for the client itself would then be: > > > org.apache.qpid > qpid-jms-client > 2.3.0 > +1 I checked things over as follows: - Verified the signature + checksum files. - Checked for LICENCE + NOTICE files in the archives. - Used "mvn apache-rat:check" to check headers in the source archive. - Ran the build and tests from the source archive on JDK11. - Ran HelloWorld example against ActiveMQ Artemis main, on JDK11. - Built Quarkus extension for Qpid JMS using staged client and tested on JDK11 and 17. Robbie - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org
Re: [VOTE] Release Apache Qpid JMS 1.9.0
On Wed, 17 May 2023 at 17:44, Robbie Gemmell wrote: > > Hi folks, > > I have put together a spin for a 1.9.0 Qpid JMS client release, please > give it a test out and vote accordingly. > > The staged source and binary archives can be grabbed from: > https://dist.apache.org/repos/dist/dev/qpid/jms/1.9.0-rc1/ > > The maven artifacts are also staged for now at: > https://repository.apache.org/content/repositories/orgapacheqpid-1259 > > The JIRAs assigned are: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12314524&version=12352747 > > Regards, > Robbie > > P.S. If you want to test it out using maven (e.g with the examples > src, or your own things), you can temporarily add this to your poms to > access the staging repo: > > > > staging > > https://repository.apache.org/content/repositories/orgapacheqpid-1259 > > > > The dependency for the client itself would then be: > > > org.apache.qpid > qpid-jms-client > 1.9.0 > +1 I checked things out as follows: - Verified the signature + checksum files. - Checked for LICENCE + NOTICE files in the archives. - Used "mvn apache-rat:check" to check headers in the source archive. - Ran the build and tests from the source archive on JDK11. - Built ActiveMQ Artemis main using staged client, ran AMQP tests, on JDK11. - Ran HelloWorld example against ActiveMQ Artemis main, on JDK11. - Built Quarkus extension for Qpid JMS using staged client and tested on JDK11 and 17. Robbie - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org