You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Lukasz Guzik <lu...@beekeeper.io> on 2019/11/04 12:19:40 UTC

Qpid as a RabbitMQ broker for Java app integration tests - exchange declare arguments

Hello,

I'm working on using Qpid broker as an in-memory AMQP message broker, that
will be used in place of RabbitMQ for integration tests of my Java service.
While I managed to successfully run Qpid, I'm having issues with my
RabbitMQ connector library using some RMQ-specific exchange declare
arguments. Basically, Qpid refuses to create an exchange with error:
Unsupported exchange declare arguments: x-ha-policy,ha-mode.
Is there any option to make Qpid ignore these arguments, or to write a
custom handler for these (that will basically do nothing)? I wasn't able to
find any solution in the docs nor over the internet, unfortunately.

Thank you!

-- 

Łukasz Guzik

Senior Software Engineer

lukasz.guzik@beekeeper.io

Beekeeper · beekeeper.io · We are hiring
<https://www.beekeeper.io/en/company/jobs>

Beekeeper AG, Pawia 9, 31-154 Cracow, Poland

https://www.beekeeper.io/en/company/jobs

Re: Qpid as a RabbitMQ broker for Java app integration tests - exchange declare arguments

Posted by Lukasz Guzik <lu...@beekeeper.io>.
Hi Alex,

Yes, currently there's no rush on my side, as I've found some workaround
for the tests.

Thanks,


pon., 18 lis 2019 o 15:16 Oleksandr Rudyy <or...@gmail.com> napisał(a):

> Rob,
>
> I do not have any tentative date for the release yet.
> Potentially, the changes can be ported into 7.1.6 and released as part of
> 7.1.x line.
>
> I have a couple of defects to fix there (I am in process of raising
> corresponding JIRAs). The defects are straight-forward to fix.
>
> Potentially, the version 7.1.6 can released by the end of November.
>
> Łukasz,
> Does end of November work for you?
>
> Kind Regards,
> Alex
>
>
> On Mon, 18 Nov 2019 at 13:23, Rob Godfrey <ro...@gmail.com> wrote:
>
>>
>>
>> On Mon, 18 Nov 2019 at 13:42, Lukasz Guzik <lu...@beekeeper.io>
>> wrote:
>>
>>> Hi Rob,
>>>
>>> Yes, this is a perfect solution for me, thank you! :)
>>> Could you please let me know when it will be released?
>>>
>>>
>> Alex - do we have a plan for the next release yet?
>>
>> -- Rob
>>
>>
>>> niedz., 17 lis 2019 o 23:30 Rob Godfrey <ro...@gmail.com>
>>> napisał(a):
>>>
>>>> Hi Łukasz,
>>>>
>>>> I have made an enhancement to the Broker as QPID-8377
>>>> <https://issues.apache.org/jira/browse/QPID-8377> along the lines I
>>>> suggested in my previous mail.  I hope this will meet your requirements.
>>>>
>>>> Thanks,
>>>> Rob
>>>>
>>>> On Mon, 11 Nov 2019 at 09:33, Rob Godfrey <ro...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Łukasz,
>>>>>
>>>>> firstly let me apologise for not getting back to you sooner.
>>>>>
>>>>> Secondly, unfortunately I agree that there is no current way to
>>>>> explicitly tell the broker to ignore unknown exchange declare arguments,
>>>>> and that adding this ability is a good idea.  The simplest approach is
>>>>> probably to add a configurable property to the VirtualHost for
>>>>> "unknownExchangeDeclareArgumentPolicy" (or something like that) with
>>>>> options of FAIL, LOG and IGNORE (where the current behaviour - FAIL - would
>>>>> be the default).  If that seems reasonable to you we can raise a JIRA and
>>>>> make a change.
>>>>>
>>>>> Thanks,
>>>>> Rob
>>>>>
>>>>> On Mon, 4 Nov 2019 at 13:31, Lukasz Guzik <lu...@beekeeper.io>
>>>>> wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I'm working on using Qpid broker as an in-memory AMQP message broker,
>>>>>> that
>>>>>> will be used in place of RabbitMQ for integration tests of my Java
>>>>>> service.
>>>>>> While I managed to successfully run Qpid, I'm having issues with my
>>>>>> RabbitMQ connector library using some RMQ-specific exchange declare
>>>>>> arguments. Basically, Qpid refuses to create an exchange with error:
>>>>>> Unsupported exchange declare arguments: x-ha-policy,ha-mode.
>>>>>> Is there any option to make Qpid ignore these arguments, or to write a
>>>>>> custom handler for these (that will basically do nothing)? I wasn't
>>>>>> able to
>>>>>> find any solution in the docs nor over the internet, unfortunately.
>>>>>>
>>>>>> Thank you!
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Łukasz Guzik
>>>>>>
>>>>>> Senior Software Engineer
>>>>>>
>>>>>> lukasz.guzik@beekeeper.io
>>>>>>
>>>>>> Beekeeper · beekeeper.io · We are hiring
>>>>>> <https://www.beekeeper.io/en/company/jobs>
>>>>>>
>>>>>> Beekeeper AG, Pawia 9, 31-154 Cracow, Poland
>>>>>>
>>>>>> https://www.beekeeper.io/en/company/jobs
>>>>>>
>>>>>
>>>
>>> --
>>>
>>> Łukasz Guzik
>>>
>>> Senior Software Engineer
>>>
>>> lukasz.guzik@beekeeper.io
>>>
>>> Beekeeper · beekeeper.io · We are hiring
>>> <https://www.beekeeper.io/en/company/jobs>
>>>
>>> Beekeeper AG, Pawia 9, 31-154 Cracow, Poland
>>>
>>> https://www.beekeeper.io/en/company/jobs
>>>
>>

-- 

Łukasz Guzik

Senior Software Engineer

lukasz.guzik@beekeeper.io

Beekeeper · beekeeper.io · We are hiring
<https://www.beekeeper.io/en/company/jobs>

Beekeeper AG, Pawia 9, 31-154 Cracow, Poland

https://www.beekeeper.io/en/company/jobs

Re: Qpid as a RabbitMQ broker for Java app integration tests - exchange declare arguments

Posted by Oleksandr Rudyy <or...@gmail.com>.
Rob,

I do not have any tentative date for the release yet.
Potentially, the changes can be ported into 7.1.6 and released as part of
7.1.x line.

I have a couple of defects to fix there (I am in process of raising
corresponding JIRAs). The defects are straight-forward to fix.

Potentially, the version 7.1.6 can released by the end of November.

Łukasz,
Does end of November work for you?

Kind Regards,
Alex


On Mon, 18 Nov 2019 at 13:23, Rob Godfrey <ro...@gmail.com> wrote:

>
>
> On Mon, 18 Nov 2019 at 13:42, Lukasz Guzik <lu...@beekeeper.io>
> wrote:
>
>> Hi Rob,
>>
>> Yes, this is a perfect solution for me, thank you! :)
>> Could you please let me know when it will be released?
>>
>>
> Alex - do we have a plan for the next release yet?
>
> -- Rob
>
>
>> niedz., 17 lis 2019 o 23:30 Rob Godfrey <ro...@gmail.com>
>> napisał(a):
>>
>>> Hi Łukasz,
>>>
>>> I have made an enhancement to the Broker as QPID-8377
>>> <https://issues.apache.org/jira/browse/QPID-8377> along the lines I
>>> suggested in my previous mail.  I hope this will meet your requirements.
>>>
>>> Thanks,
>>> Rob
>>>
>>> On Mon, 11 Nov 2019 at 09:33, Rob Godfrey <ro...@gmail.com>
>>> wrote:
>>>
>>>> Hi Łukasz,
>>>>
>>>> firstly let me apologise for not getting back to you sooner.
>>>>
>>>> Secondly, unfortunately I agree that there is no current way to
>>>> explicitly tell the broker to ignore unknown exchange declare arguments,
>>>> and that adding this ability is a good idea.  The simplest approach is
>>>> probably to add a configurable property to the VirtualHost for
>>>> "unknownExchangeDeclareArgumentPolicy" (or something like that) with
>>>> options of FAIL, LOG and IGNORE (where the current behaviour - FAIL - would
>>>> be the default).  If that seems reasonable to you we can raise a JIRA and
>>>> make a change.
>>>>
>>>> Thanks,
>>>> Rob
>>>>
>>>> On Mon, 4 Nov 2019 at 13:31, Lukasz Guzik <lu...@beekeeper.io>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm working on using Qpid broker as an in-memory AMQP message broker,
>>>>> that
>>>>> will be used in place of RabbitMQ for integration tests of my Java
>>>>> service.
>>>>> While I managed to successfully run Qpid, I'm having issues with my
>>>>> RabbitMQ connector library using some RMQ-specific exchange declare
>>>>> arguments. Basically, Qpid refuses to create an exchange with error:
>>>>> Unsupported exchange declare arguments: x-ha-policy,ha-mode.
>>>>> Is there any option to make Qpid ignore these arguments, or to write a
>>>>> custom handler for these (that will basically do nothing)? I wasn't
>>>>> able to
>>>>> find any solution in the docs nor over the internet, unfortunately.
>>>>>
>>>>> Thank you!
>>>>>
>>>>> --
>>>>>
>>>>> Łukasz Guzik
>>>>>
>>>>> Senior Software Engineer
>>>>>
>>>>> lukasz.guzik@beekeeper.io
>>>>>
>>>>> Beekeeper · beekeeper.io · We are hiring
>>>>> <https://www.beekeeper.io/en/company/jobs>
>>>>>
>>>>> Beekeeper AG, Pawia 9, 31-154 Cracow, Poland
>>>>>
>>>>> https://www.beekeeper.io/en/company/jobs
>>>>>
>>>>
>>
>> --
>>
>> Łukasz Guzik
>>
>> Senior Software Engineer
>>
>> lukasz.guzik@beekeeper.io
>>
>> Beekeeper · beekeeper.io · We are hiring
>> <https://www.beekeeper.io/en/company/jobs>
>>
>> Beekeeper AG, Pawia 9, 31-154 Cracow, Poland
>>
>> https://www.beekeeper.io/en/company/jobs
>>
>

Re: Qpid as a RabbitMQ broker for Java app integration tests - exchange declare arguments

Posted by Rob Godfrey <ro...@gmail.com>.
On Mon, 18 Nov 2019 at 13:42, Lukasz Guzik <lu...@beekeeper.io>
wrote:

> Hi Rob,
>
> Yes, this is a perfect solution for me, thank you! :)
> Could you please let me know when it will be released?
>
>
Alex - do we have a plan for the next release yet?

-- Rob


> niedz., 17 lis 2019 o 23:30 Rob Godfrey <ro...@gmail.com>
> napisał(a):
>
>> Hi Łukasz,
>>
>> I have made an enhancement to the Broker as QPID-8377
>> <https://issues.apache.org/jira/browse/QPID-8377> along the lines I
>> suggested in my previous mail.  I hope this will meet your requirements.
>>
>> Thanks,
>> Rob
>>
>> On Mon, 11 Nov 2019 at 09:33, Rob Godfrey <ro...@gmail.com>
>> wrote:
>>
>>> Hi Łukasz,
>>>
>>> firstly let me apologise for not getting back to you sooner.
>>>
>>> Secondly, unfortunately I agree that there is no current way to
>>> explicitly tell the broker to ignore unknown exchange declare arguments,
>>> and that adding this ability is a good idea.  The simplest approach is
>>> probably to add a configurable property to the VirtualHost for
>>> "unknownExchangeDeclareArgumentPolicy" (or something like that) with
>>> options of FAIL, LOG and IGNORE (where the current behaviour - FAIL - would
>>> be the default).  If that seems reasonable to you we can raise a JIRA and
>>> make a change.
>>>
>>> Thanks,
>>> Rob
>>>
>>> On Mon, 4 Nov 2019 at 13:31, Lukasz Guzik <lu...@beekeeper.io>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I'm working on using Qpid broker as an in-memory AMQP message broker,
>>>> that
>>>> will be used in place of RabbitMQ for integration tests of my Java
>>>> service.
>>>> While I managed to successfully run Qpid, I'm having issues with my
>>>> RabbitMQ connector library using some RMQ-specific exchange declare
>>>> arguments. Basically, Qpid refuses to create an exchange with error:
>>>> Unsupported exchange declare arguments: x-ha-policy,ha-mode.
>>>> Is there any option to make Qpid ignore these arguments, or to write a
>>>> custom handler for these (that will basically do nothing)? I wasn't
>>>> able to
>>>> find any solution in the docs nor over the internet, unfortunately.
>>>>
>>>> Thank you!
>>>>
>>>> --
>>>>
>>>> Łukasz Guzik
>>>>
>>>> Senior Software Engineer
>>>>
>>>> lukasz.guzik@beekeeper.io
>>>>
>>>> Beekeeper · beekeeper.io · We are hiring
>>>> <https://www.beekeeper.io/en/company/jobs>
>>>>
>>>> Beekeeper AG, Pawia 9, 31-154 Cracow, Poland
>>>>
>>>> https://www.beekeeper.io/en/company/jobs
>>>>
>>>
>
> --
>
> Łukasz Guzik
>
> Senior Software Engineer
>
> lukasz.guzik@beekeeper.io
>
> Beekeeper · beekeeper.io · We are hiring
> <https://www.beekeeper.io/en/company/jobs>
>
> Beekeeper AG, Pawia 9, 31-154 Cracow, Poland
>
> https://www.beekeeper.io/en/company/jobs
>

Re: Qpid as a RabbitMQ broker for Java app integration tests - exchange declare arguments

Posted by Lukasz Guzik <lu...@beekeeper.io>.
Hi Rob,

Yes, this is a perfect solution for me, thank you! :)
Could you please let me know when it will be released?

niedz., 17 lis 2019 o 23:30 Rob Godfrey <ro...@gmail.com>
napisał(a):

> Hi Łukasz,
>
> I have made an enhancement to the Broker as QPID-8377
> <https://issues.apache.org/jira/browse/QPID-8377> along the lines I
> suggested in my previous mail.  I hope this will meet your requirements.
>
> Thanks,
> Rob
>
> On Mon, 11 Nov 2019 at 09:33, Rob Godfrey <ro...@gmail.com> wrote:
>
>> Hi Łukasz,
>>
>> firstly let me apologise for not getting back to you sooner.
>>
>> Secondly, unfortunately I agree that there is no current way to
>> explicitly tell the broker to ignore unknown exchange declare arguments,
>> and that adding this ability is a good idea.  The simplest approach is
>> probably to add a configurable property to the VirtualHost for
>> "unknownExchangeDeclareArgumentPolicy" (or something like that) with
>> options of FAIL, LOG and IGNORE (where the current behaviour - FAIL - would
>> be the default).  If that seems reasonable to you we can raise a JIRA and
>> make a change.
>>
>> Thanks,
>> Rob
>>
>> On Mon, 4 Nov 2019 at 13:31, Lukasz Guzik <lu...@beekeeper.io>
>> wrote:
>>
>>> Hello,
>>>
>>> I'm working on using Qpid broker as an in-memory AMQP message broker,
>>> that
>>> will be used in place of RabbitMQ for integration tests of my Java
>>> service.
>>> While I managed to successfully run Qpid, I'm having issues with my
>>> RabbitMQ connector library using some RMQ-specific exchange declare
>>> arguments. Basically, Qpid refuses to create an exchange with error:
>>> Unsupported exchange declare arguments: x-ha-policy,ha-mode.
>>> Is there any option to make Qpid ignore these arguments, or to write a
>>> custom handler for these (that will basically do nothing)? I wasn't able
>>> to
>>> find any solution in the docs nor over the internet, unfortunately.
>>>
>>> Thank you!
>>>
>>> --
>>>
>>> Łukasz Guzik
>>>
>>> Senior Software Engineer
>>>
>>> lukasz.guzik@beekeeper.io
>>>
>>> Beekeeper · beekeeper.io · We are hiring
>>> <https://www.beekeeper.io/en/company/jobs>
>>>
>>> Beekeeper AG, Pawia 9, 31-154 Cracow, Poland
>>>
>>> https://www.beekeeper.io/en/company/jobs
>>>
>>

-- 

Łukasz Guzik

Senior Software Engineer

lukasz.guzik@beekeeper.io

Beekeeper · beekeeper.io · We are hiring
<https://www.beekeeper.io/en/company/jobs>

Beekeeper AG, Pawia 9, 31-154 Cracow, Poland

https://www.beekeeper.io/en/company/jobs

Re: Qpid as a RabbitMQ broker for Java app integration tests - exchange declare arguments

Posted by Rob Godfrey <ro...@gmail.com>.
Hi Łukasz,

I have made an enhancement to the Broker as QPID-8377
<https://issues.apache.org/jira/browse/QPID-8377> along the lines I
suggested in my previous mail.  I hope this will meet your requirements.

Thanks,
Rob

On Mon, 11 Nov 2019 at 09:33, Rob Godfrey <ro...@gmail.com> wrote:

> Hi Łukasz,
>
> firstly let me apologise for not getting back to you sooner.
>
> Secondly, unfortunately I agree that there is no current way to explicitly
> tell the broker to ignore unknown exchange declare arguments, and that
> adding this ability is a good idea.  The simplest approach is probably to
> add a configurable property to the VirtualHost for
> "unknownExchangeDeclareArgumentPolicy" (or something like that) with
> options of FAIL, LOG and IGNORE (where the current behaviour - FAIL - would
> be the default).  If that seems reasonable to you we can raise a JIRA and
> make a change.
>
> Thanks,
> Rob
>
> On Mon, 4 Nov 2019 at 13:31, Lukasz Guzik <lu...@beekeeper.io>
> wrote:
>
>> Hello,
>>
>> I'm working on using Qpid broker as an in-memory AMQP message broker, that
>> will be used in place of RabbitMQ for integration tests of my Java
>> service.
>> While I managed to successfully run Qpid, I'm having issues with my
>> RabbitMQ connector library using some RMQ-specific exchange declare
>> arguments. Basically, Qpid refuses to create an exchange with error:
>> Unsupported exchange declare arguments: x-ha-policy,ha-mode.
>> Is there any option to make Qpid ignore these arguments, or to write a
>> custom handler for these (that will basically do nothing)? I wasn't able
>> to
>> find any solution in the docs nor over the internet, unfortunately.
>>
>> Thank you!
>>
>> --
>>
>> Łukasz Guzik
>>
>> Senior Software Engineer
>>
>> lukasz.guzik@beekeeper.io
>>
>> Beekeeper · beekeeper.io · We are hiring
>> <https://www.beekeeper.io/en/company/jobs>
>>
>> Beekeeper AG, Pawia 9, 31-154 Cracow, Poland
>>
>> https://www.beekeeper.io/en/company/jobs
>>
>

Re: Qpid as a RabbitMQ broker for Java app integration tests - exchange declare arguments

Posted by Rob Godfrey <ro...@gmail.com>.
Hi Łukasz,

firstly let me apologise for not getting back to you sooner.

Secondly, unfortunately I agree that there is no current way to explicitly
tell the broker to ignore unknown exchange declare arguments, and that
adding this ability is a good idea.  The simplest approach is probably to
add a configurable property to the VirtualHost for
"unknownExchangeDeclareArgumentPolicy" (or something like that) with
options of FAIL, LOG and IGNORE (where the current behaviour - FAIL - would
be the default).  If that seems reasonable to you we can raise a JIRA and
make a change.

Thanks,
Rob

On Mon, 4 Nov 2019 at 13:31, Lukasz Guzik <lu...@beekeeper.io> wrote:

> Hello,
>
> I'm working on using Qpid broker as an in-memory AMQP message broker, that
> will be used in place of RabbitMQ for integration tests of my Java service.
> While I managed to successfully run Qpid, I'm having issues with my
> RabbitMQ connector library using some RMQ-specific exchange declare
> arguments. Basically, Qpid refuses to create an exchange with error:
> Unsupported exchange declare arguments: x-ha-policy,ha-mode.
> Is there any option to make Qpid ignore these arguments, or to write a
> custom handler for these (that will basically do nothing)? I wasn't able to
> find any solution in the docs nor over the internet, unfortunately.
>
> Thank you!
>
> --
>
> Łukasz Guzik
>
> Senior Software Engineer
>
> lukasz.guzik@beekeeper.io
>
> Beekeeper · beekeeper.io · We are hiring
> <https://www.beekeeper.io/en/company/jobs>
>
> Beekeeper AG, Pawia 9, 31-154 Cracow, Poland
>
> https://www.beekeeper.io/en/company/jobs
>