You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "MF (JIRA)" <ji...@activemq.org> on 2006/03/23 15:49:25 UTC

[jira] Created: (AMQ-656) Update of AMQ C++ client

Update of AMQ C++ client
------------------------

         Key: AMQ-656
         URL: http://jira.activemq.org/jira//browse/AMQ-656
     Project: ActiveMQ
        Type: Improvement

  Components: JMS client  
    Reporter: MF
 Attachments: source_060323.zip


Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.activemq.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Updated: (AMQ-656) Update of AMQ C++ client

Posted by Nathan Mittler <na...@gmail.com>.
Hi David,
One minor tweak (for linux) ... in Guid.cpp, the include should be "Guid.hpp",
not "guid.hpp".  Paths in linux are case-sensitive, so it won't build.

Regards,
Nate

On 3/24/06, David Fahlander (JIRA) <ji...@activemq.org> wrote:
>
>      [ http://jira.activemq.org/jira//browse/AMQ-656?page=all ]
>
> David Fahlander updated AMQ-656:
> --------------------------------
>
>     Attachment: source_060324.zip
>
> This is a complete update that replaces the previous attached file.
>
> Now compiles without warnings with full warning turned on on the following
> compilers:
>
> gcc 3.4.3
> gcc 4.0.2
> visual c++ 2005
>
> Fixes also done with marshalling of messageId as int instead of short.
>
>
>
> > Update of AMQ C++ client
> > ------------------------
> >
> >          Key: AMQ-656
> >          URL: http://jira.activemq.org/jira//browse/AMQ-656
> >      Project: ActiveMQ
> >         Type: Improvement
>
> >   Components: JMS client
> >     Reporter: MF
> >  Attachments: source_060323.zip, source_060324.zip
> >
> >
> > Attached is a new update of the C++ client, the zip-file contains the
> full source since the update is a major overhaul.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://jira.activemq.org/jira//secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>

[jira] Assigned: (AMQ-656) Update of AMQ C++ client

Posted by "james strachan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-656?page=all ]

james strachan reassigned AMQ-656:
----------------------------------

    Assignee: Timothy Bish

Just wanted to make sure you were aware of this issue

> Update of AMQ C++ client
> ------------------------
>
>                 Key: AMQ-656
>                 URL: https://issues.apache.org/activemq/browse/AMQ-656
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>            Reporter: MF
>         Assigned To: Timothy Bish
>         Attachments: patch_060518.zip, README.TXT, source_060323.zip, source_060324.zip, source_060404.zip, source_060406.zip, source_060425.zip, source_060508.zip, source_060515.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (AMQ-656) Update of AMQ C++ client

Posted by "MF (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-656?page=all ]

MF updated AMQ-656:
-------------------

    Attachment: source_060404.zip

New update available, the 060404 update has been tested for sending/receiving text messages on Window/Linux using ActiveMQ 4.0RC1. A new test folder is included with the first simple test code in TestMain.cpp. Also, the make files for *nix has been updated; to be able to build you need to set three environment variables before starting make.

   export MAKESUPPORT_HOME=/top/dir/of/c++/client
   export OSTYPE=linux
   export CONFIG=debug | release

Note! Don't run the groovy scripts to generate the commands since they are out-of-date and will be updated later.


> Update of AMQ C++ client
> ------------------------
>
>          Key: AMQ-656
>          URL: https://issues.apache.org/activemq/browse/AMQ-656
>      Project: ActiveMQ
>         Type: Improvement

>   Components: JMS client
>     Reporter: MF
>  Attachments: README.TXT, source_060323.zip, source_060324.zip, source_060404.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AMQ-656) Update of AMQ C++ client

Posted by "MF (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-656?page=all ]

MF updated AMQ-656:
-------------------

    Attachment: source_060425.zip

The new version contains numerous improvements including:

* Project renamed and source re-arranged into responsibility namespaces.
  Namespace "apache::activemq" contains the C++ ActiveMQ client implementation.
  Namespace "apache::cms" contains the "C++ Messaging Service" interfaces.
  Namespace "apache::ppr" contains the "Platform Portable Runtime" support and utility classes.

* The file structure has been changed to use the same structure as other projects.

* The protocol management has been improved to better support future pluggable protocols. A new URI parameter "protocol" has been added to select what protocol to use, currently only "openwire" supported. :)

* The trace logging can now be turned on/off via the URI parameter "trace=true|false".

* A new test case has been added that sends/receives a binary message asynchronously. More test cases will be added further on.

* Transport filters has been introduced to make the transport layer all pluggable.

* Bug fixes and other improvements including controlled shutdown by the new close() methods on session/connection.

The code has been tested on Windows XP, RedHat Linux and Mac OS X using ActiveMQ broker 4.0RC1.


> Update of AMQ C++ client
> ------------------------
>
>          Key: AMQ-656
>          URL: https://issues.apache.org/activemq/browse/AMQ-656
>      Project: ActiveMQ
>         Type: Improvement

>   Components: JMS client
>     Reporter: MF
>  Attachments: README.TXT, source_060323.zip, source_060324.zip, source_060404.zip, source_060406.zip, source_060425.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AMQ-656) Update of AMQ C++ client

Posted by "Nathan Mittler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-656?page=comments#action_36104 ] 

Nathan Mittler commented on AMQ-656:
------------------------------------

Mats & David,
I've added this patch to svn.  Check it out and make sure all is as it should be :)

Regards,
Nate

> Update of AMQ C++ client
> ------------------------
>
>          Key: AMQ-656
>          URL: https://issues.apache.org/activemq/browse/AMQ-656
>      Project: ActiveMQ
>         Type: Improvement

>   Components: JMS client
>     Reporter: MF
>  Attachments: README.TXT, source_060323.zip, source_060324.zip, source_060404.zip, source_060406.zip, source_060425.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AMQ-656) Update of AMQ C++ client

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-656?page=all ]

Timothy Bish closed AMQ-656.
----------------------------

    Resolution: Fixed

All the patches have been applied previously.  

> Update of AMQ C++ client
> ------------------------
>
>                 Key: AMQ-656
>                 URL: https://issues.apache.org/activemq/browse/AMQ-656
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: JMS client
>            Reporter: MF
>         Assigned To: Timothy Bish
>         Attachments: patch_060518.zip, README.TXT, source_060323.zip, source_060324.zip, source_060404.zip, source_060406.zip, source_060425.zip, source_060508.zip, source_060515.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (AMQ-656) Update of AMQ C++ client

Posted by "Heinrich Bernd (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-656?page=comments#action_36479 ] 

Heinrich Bernd commented on AMQ-656:
------------------------------------

Mats,

thank you for that update and the patch.
I have run the unittests with Broker 4.0 on Windows XP. The unittest are ok, but however there is an "unknown command" when closing the connection after receiving the Shutdown-message.
Here is the last part of the output when running with uri: "tcp://localhost:61616/trace=true"

. . .
Send/receive a text message to a queue synchronously                   Sending command: cmd.id = 35, corr.id = -1, type
= SESSION_INFO
Received command: cmd.id = 32, corr.id = 35, type = RESPONSE
Sending command: cmd.id = 36, corr.id = -1, type = CONSUMER_INFO
Received command: cmd.id = 33, corr.id = 36, type = RESPONSE
Sending command: cmd.id = 37, corr.id = -1, type = PRODUCER_INFO
Received command: cmd.id = 34, corr.id = 37, type = RESPONSE
Sending command: cmd.id = 38, corr.id = -1, type = ACTIVEMQ_TEXT_MESSAGE
Received command: cmd.id = 35, corr.id = -1, type = ACTIVEMQ_MSG_DISPATCH
Received command: cmd.id = 36, corr.id = 38, type = RESPONSE
Sending command: cmd.id = 39, corr.id = -1, type = ACTIVEMQ_MSG_ACK
Sending command: cmd.id = 40, corr.id = -1, type = REMOVE_INFO
Received command: cmd.id = 37, corr.id = 40, type = RESPONSE
Sending command: cmd.id = 41, corr.id = -1, type = REMOVE_INFO
Received command: cmd.id = 38, corr.id = 41, type = RESPONSE
Sending command: cmd.id = 42, corr.id = -1, type = REMOVE_INFO
Received command: cmd.id = 39, corr.id = 42, type = RESPONSE
[  OK  ]
Sending command: cmd.id = 43, corr.id = -1, type = REMOVE_INFO
Received command: cmd.id = 40, corr.id = 43, type = RESPONSE
Sending command: cmd.id = 44, corr.id = -1, type = SHUTDOWN
Received command: cmd.id = 41, corr.id = -1, type = SHUTDOWN
ERROR: Unknown command: &#9794;
Received exception = 'Unmarshal failed; unknown data structure type 204, at c:\programme\incubator-activemq-4.0\openwire-cpp-bugfix\src\main\cpp\activemq\protocol\openwire\openwireprotocol.cpp line 144'
ERROR: Received a broker exception: Unmarshal failed; unknown data structure type 204, at c:\programme\incubator-activemq-4.0\openwire-cpp-bugfix\src\main\cpp\activemq\protocol\openwire\openwireprotocol.cpp line 144
Exiting read loop due to exception: Unmarshal failed; unknown data structure type 204, at c:\programme\incubator-activemq-4.0\openwire-cpp-bugfix\src\main\cpp\activemq\protocol\openwire\openwireprotocol.cpp line 144

---------
Where does this additional stuff come from?

Thanks for your help
Heinrich

> Update of AMQ C++ client
> ------------------------
>
>          Key: AMQ-656
>          URL: https://issues.apache.org/activemq/browse/AMQ-656
>      Project: ActiveMQ
>         Type: Improvement

>   Components: JMS client
>     Reporter: MF
>  Attachments: README.TXT, patch_060518.zip, source_060323.zip, source_060324.zip, source_060404.zip, source_060406.zip, source_060425.zip, source_060508.zip, source_060515.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AMQ-656) Update of AMQ C++ client

Posted by "MF (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-656?page=all ]

MF updated AMQ-656:
-------------------

    Attachment: source_060515.zip

This update contains an encoding framework with a default encoder that encodes to/from extended ASCII and modified UTF-8 as used in Java. The encoder can easily be replaced or turned off should you want to supply your own encoding. Also, a readme file has been added that documents the URI parameters and build commands.

Tested on Windows XP (SP2), RedHat Enterprise Linux 4 and Mac OS X 10.4 with ActiveMQ broker 4.0 (pre-final).


> Update of AMQ C++ client
> ------------------------
>
>          Key: AMQ-656
>          URL: https://issues.apache.org/activemq/browse/AMQ-656
>      Project: ActiveMQ
>         Type: Improvement

>   Components: JMS client
>     Reporter: MF
>  Attachments: README.TXT, source_060323.zip, source_060324.zip, source_060404.zip, source_060406.zip, source_060425.zip, source_060508.zip, source_060515.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AMQ-656) Update of AMQ C++ client

Posted by "MF (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-656?page=all ]

MF updated AMQ-656:
-------------------

    Attachment: patch_060518.zip

New patch uploaded: a first set of profiling has been done and several minor bugs have been corrected that affected the performance.

The attached patch file (patch_060518.zip) contains only the changed file set since last upload.


> Update of AMQ C++ client
> ------------------------
>
>          Key: AMQ-656
>          URL: https://issues.apache.org/activemq/browse/AMQ-656
>      Project: ActiveMQ
>         Type: Improvement

>   Components: JMS client
>     Reporter: MF
>  Attachments: README.TXT, patch_060518.zip, source_060323.zip, source_060324.zip, source_060404.zip, source_060406.zip, source_060425.zip, source_060508.zip, source_060515.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AMQ-656) Update of AMQ C++ client

Posted by "Nathan Mittler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-656?page=comments#action_36210 ] 

Nathan Mittler commented on AMQ-656:
------------------------------------

Mats,
The 060518 patch has been applied and I moved the gram files to the activemq-core project.  Let me know if everything is in order.

Regards,
Nate

> Update of AMQ C++ client
> ------------------------
>
>          Key: AMQ-656
>          URL: https://issues.apache.org/activemq/browse/AMQ-656
>      Project: ActiveMQ
>         Type: Improvement

>   Components: JMS client
>     Reporter: MF
>  Attachments: README.TXT, patch_060518.zip, source_060323.zip, source_060324.zip, source_060404.zip, source_060406.zip, source_060425.zip, source_060508.zip, source_060515.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AMQ-656) Update of AMQ C++ client

Posted by "MF (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-656?page=all ]

MF updated AMQ-656:
-------------------

    Attachment: source_060508.zip

The new update contains;

 * New test framework with more unit tests. To run the test suite you supply the broker URI and optionally a unit test name if a single test case should be run. Note! The URI must be enclosed within quotes.

   Ex: ./test "tcp://127.0.0.1:61616?trace=false&protocol=openwire"

 * Socket communication is now buffered for improved performance.

 * The Groovy command build scripts are now in synch and works again. Note! The scripts should be committed to the activemq-core project.

 * Bug fixes and other improvements.

 * Tested on Windows, Linux and Mac OS X with ActiveMQ 4.0 (pre-final 4 May).


> Update of AMQ C++ client
> ------------------------
>
>          Key: AMQ-656
>          URL: https://issues.apache.org/activemq/browse/AMQ-656
>      Project: ActiveMQ
>         Type: Improvement

>   Components: JMS client
>     Reporter: MF
>  Attachments: README.TXT, source_060323.zip, source_060324.zip, source_060404.zip, source_060406.zip, source_060425.zip, source_060508.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AMQ-656) Update of AMQ C++ client

Posted by "MF (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-656?page=all ]

MF updated AMQ-656:
-------------------

    Attachment: source_060406.zip

Same as yesterdays update but with support for Mac OS X 10.4/GCC 4.0.1.

> Update of AMQ C++ client
> ------------------------
>
>          Key: AMQ-656
>          URL: https://issues.apache.org/activemq/browse/AMQ-656
>      Project: ActiveMQ
>         Type: Improvement

>   Components: JMS client
>     Reporter: MF
>  Attachments: README.TXT, source_060323.zip, source_060324.zip, source_060404.zip, source_060406.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AMQ-656) Update of AMQ C++ client

Posted by "Nathan Mittler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-656?page=comments#action_36171 ] 

Nathan Mittler commented on AMQ-656:
------------------------------------

Hey Mats,
Sorry for the delay, I'm on vacation and am not checking e-mail as often :)

I've applied your latest patch (source_060515.zip) to trunk.

Regards,
Nate

> Update of AMQ C++ client
> ------------------------
>
>          Key: AMQ-656
>          URL: https://issues.apache.org/activemq/browse/AMQ-656
>      Project: ActiveMQ
>         Type: Improvement

>   Components: JMS client
>     Reporter: MF
>  Attachments: README.TXT, source_060323.zip, source_060324.zip, source_060404.zip, source_060406.zip, source_060425.zip, source_060508.zip, source_060515.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AMQ-656) Update of AMQ C++ client

Posted by "David Fahlander (JIRA)" <ji...@activemq.org>.
     [ http://jira.activemq.org/jira//browse/AMQ-656?page=all ]

David Fahlander updated AMQ-656:
--------------------------------

    Attachment: source_060324.zip

This is a complete update that replaces the previous attached file.

Now compiles without warnings with full warning turned on on the following compilers:

gcc 3.4.3
gcc 4.0.2
visual c++ 2005

Fixes also done with marshalling of messageId as int instead of short.



> Update of AMQ C++ client
> ------------------------
>
>          Key: AMQ-656
>          URL: http://jira.activemq.org/jira//browse/AMQ-656
>      Project: ActiveMQ
>         Type: Improvement

>   Components: JMS client
>     Reporter: MF
>  Attachments: source_060323.zip, source_060324.zip
>
>
> Attached is a new update of the C++ client, the zip-file contains the full source since the update is a major overhaul.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.activemq.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira