You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2007/04/20 12:10:15 UTC

[jira] Created: (QPID-466) Create STRICT_AMQP System property to disable JMS extensions in Java client

Create STRICT_AMQP System property to disable JMS extensions in Java client
---------------------------------------------------------------------------

                 Key: QPID-466
                 URL: https://issues.apache.org/jira/browse/QPID-466
             Project: Qpid
          Issue Type: Improvement
          Components: Java Client
    Affects Versions: M2
            Reporter: Martin Ritchie
         Assigned To: Martin Ritchie
             Fix For: M2


Create property to disable JMS extensions to allow java client to interop with C++ qpid broker and others.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (QPID-466) Create STRICT_AMQP System property to disable JMS extensions in Java client

Posted by Marnie McCormack <ma...@googlemail.com>.
Thanks Martin - does indeed sound like we need this for M2 with interop :-)

As for taking it easy, well ... I'm trying !

Bfn,
Marnie


On 4/26/07, Martin Ritchie <ri...@apache.org> wrote:
>
> Hey, are you not supposed to be taking it easy :)
>
> We have several Qpid Java Client 'enhancements' for JMS that only work
> the the Java broker.
>
> Things like Queue Browsing and Durable Subscribers. In fact that is
> AFAIR. So I've made the change just not commited yet. If you set the
> STRICT_AMQP flag then it just throws an UnsupportedOperation.
>
> It is to support running the Java client on the C++/Rabbit broker. I
> still have to test that it works but as long as you don't use the
> extended features then it should work fine. I felt it was a good idea
> to actually limit the client code to only AMQP standard values. I
> still have to do some work around the field table. But it really
> depends on what exact version of the protocol we want to be Strict to.
>
> It shouldn't be a lot of work to comlete just throwing UnsupportedOps
> when we try to call a Qpid Extended method or setting values that the
> AMQP version cannot support. That will work for an interop build just
> now. Obviously as AMQP version changes the idea of STRICT will need to
> change also.
>
> On 25/04/07, Marnie McCormack <ma...@googlemail.com> wrote:
> > Hi Martin,
> >
> > I wondered if this is really an M2 fix ? Is it needed for interop ?
> >
> > Bfn,
> > Marnie
> >
> >
> > On 4/25/07, Martin Ritchie (JIRA) <qp...@incubator.apache.org> wrote:
> > >
> > >
> > >    [
> > >
> https://issues.apache.org/jira/browse/QPID-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491622
> ]
> > >
> > > Martin Ritchie commented on QPID-466:
> > > -------------------------------------
> > >
> > > Areas Affected:
> > >
> > > Throw UnsupportedOperationException:
> > > Exchange Bound - Some Durable Subscripitions.
> > > Queue Browsing
> > >
> > > Incorrect operation:
> > > Selectors - selectors will be ignored
> > > Basic Recover - doesn't wait for broker to clean up so may result in
> > > duplicate messages.
> > >
> > >
> > >
> > >
> > >
> > > > Create STRICT_AMQP System property to disable JMS extensions in Java
> > > client
> > > >
> > >
> ---------------------------------------------------------------------------
> > > >
> > > >                 Key: QPID-466
> > > >                 URL: https://issues.apache.org/jira/browse/QPID-466
> > > >             Project: Qpid
> > > >          Issue Type: Improvement
> > > >          Components: Java Client
> > > >    Affects Versions: M2
> > > >            Reporter: Martin Ritchie
> > > >         Assigned To: Martin Ritchie
> > > >             Fix For: M2
> > > >
> > > >
> > > > Create property to disable JMS extensions to allow java client to
> > > interop with C++ qpid broker and others.
> > >
> > > --
> > > This message is automatically generated by JIRA.
> > > -
> > > You can reply to this email to add a comment to the issue online.
> > >
> > >
> >
>
>
> --
> Martin Ritchie
>

Re: [jira] Commented: (QPID-466) Create STRICT_AMQP System property to disable JMS extensions in Java client

Posted by Martin Ritchie <ri...@apache.org>.
Hey, are you not supposed to be taking it easy :)

We have several Qpid Java Client 'enhancements' for JMS that only work
the the Java broker.

Things like Queue Browsing and Durable Subscribers. In fact that is
AFAIR. So I've made the change just not commited yet. If you set the
STRICT_AMQP flag then it just throws an UnsupportedOperation.

It is to support running the Java client on the C++/Rabbit broker. I
still have to test that it works but as long as you don't use the
extended features then it should work fine. I felt it was a good idea
to actually limit the client code to only AMQP standard values. I
still have to do some work around the field table. But it really
depends on what exact version of the protocol we want to be Strict to.

It shouldn't be a lot of work to comlete just throwing UnsupportedOps
when we try to call a Qpid Extended method or setting values that the
AMQP version cannot support. That will work for an interop build just
now. Obviously as AMQP version changes the idea of STRICT will need to
change also.

On 25/04/07, Marnie McCormack <ma...@googlemail.com> wrote:
> Hi Martin,
>
> I wondered if this is really an M2 fix ? Is it needed for interop ?
>
> Bfn,
> Marnie
>
>
> On 4/25/07, Martin Ritchie (JIRA) <qp...@incubator.apache.org> wrote:
> >
> >
> >    [
> > https://issues.apache.org/jira/browse/QPID-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491622]
> >
> > Martin Ritchie commented on QPID-466:
> > -------------------------------------
> >
> > Areas Affected:
> >
> > Throw UnsupportedOperationException:
> > Exchange Bound - Some Durable Subscripitions.
> > Queue Browsing
> >
> > Incorrect operation:
> > Selectors - selectors will be ignored
> > Basic Recover - doesn't wait for broker to clean up so may result in
> > duplicate messages.
> >
> >
> >
> >
> >
> > > Create STRICT_AMQP System property to disable JMS extensions in Java
> > client
> > >
> > ---------------------------------------------------------------------------
> > >
> > >                 Key: QPID-466
> > >                 URL: https://issues.apache.org/jira/browse/QPID-466
> > >             Project: Qpid
> > >          Issue Type: Improvement
> > >          Components: Java Client
> > >    Affects Versions: M2
> > >            Reporter: Martin Ritchie
> > >         Assigned To: Martin Ritchie
> > >             Fix For: M2
> > >
> > >
> > > Create property to disable JMS extensions to allow java client to
> > interop with C++ qpid broker and others.
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > You can reply to this email to add a comment to the issue online.
> >
> >
>


-- 
Martin Ritchie

Re: [jira] Commented: (QPID-466) Create STRICT_AMQP System property to disable JMS extensions in Java client

Posted by Marnie McCormack <ma...@googlemail.com>.
Hi Martin,

I wondered if this is really an M2 fix ? Is it needed for interop ?

Bfn,
Marnie


On 4/25/07, Martin Ritchie (JIRA) <qp...@incubator.apache.org> wrote:
>
>
>    [
> https://issues.apache.org/jira/browse/QPID-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491622]
>
> Martin Ritchie commented on QPID-466:
> -------------------------------------
>
> Areas Affected:
>
> Throw UnsupportedOperationException:
> Exchange Bound - Some Durable Subscripitions.
> Queue Browsing
>
> Incorrect operation:
> Selectors - selectors will be ignored
> Basic Recover - doesn't wait for broker to clean up so may result in
> duplicate messages.
>
>
>
>
>
> > Create STRICT_AMQP System property to disable JMS extensions in Java
> client
> >
> ---------------------------------------------------------------------------
> >
> >                 Key: QPID-466
> >                 URL: https://issues.apache.org/jira/browse/QPID-466
> >             Project: Qpid
> >          Issue Type: Improvement
> >          Components: Java Client
> >    Affects Versions: M2
> >            Reporter: Martin Ritchie
> >         Assigned To: Martin Ritchie
> >             Fix For: M2
> >
> >
> > Create property to disable JMS extensions to allow java client to
> interop with C++ qpid broker and others.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

[jira] Commented: (QPID-466) Create STRICT_AMQP System property to disable JMS extensions in Java client

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491622 ] 

Martin Ritchie commented on QPID-466:
-------------------------------------

Areas Affected:

Throw UnsupportedOperationException:
Exchange Bound - Some Durable Subscripitions.
Queue Browsing

Incorrect operation:
Selectors - selectors will be ignored
Basic Recover - doesn't wait for broker to clean up so may result in duplicate messages.





> Create STRICT_AMQP System property to disable JMS extensions in Java client
> ---------------------------------------------------------------------------
>
>                 Key: QPID-466
>                 URL: https://issues.apache.org/jira/browse/QPID-466
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M2
>            Reporter: Martin Ritchie
>         Assigned To: Martin Ritchie
>             Fix For: M2
>
>
> Create property to disable JMS extensions to allow java client to interop with C++ qpid broker and others.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-466) Create STRICT_AMQP System property to disable JMS extensions in Java client

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie resolved QPID-466.
---------------------------------

    Resolution: Fixed

Cause Unsupported exceptions from set*Property from the JMS interface that is not one of the core AMQP types. String & (long)Integer.

> Create STRICT_AMQP System property to disable JMS extensions in Java client
> ---------------------------------------------------------------------------
>
>                 Key: QPID-466
>                 URL: https://issues.apache.org/jira/browse/QPID-466
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M2
>            Reporter: Martin Ritchie
>         Assigned To: Martin Ritchie
>             Fix For: M2
>
>
> Create property to disable JMS extensions to allow java client to interop with C++ qpid broker and others.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.