summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* replaced printlns with debug statementsArnaud Simon2008-01-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@613166 13f79535-47bb-0310-9956-ffa450edef68
* replaced printlns with debug statementsArnaud Simon2008-01-181-3/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@613163 13f79535-47bb-0310-9956-ffa450edef68
* Added warningArnaud Simon2008-01-181-9/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@613155 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-745Arnaud Simon2008-01-189-21/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@613126 13f79535-47bb-0310-9956-ffa450edef68
* Qpid 742Arnaud Simon2008-01-185-63/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@613114 13f79535-47bb-0310-9956-ffa450edef68
* Add optional host, port arguments to all example clients.Alan Conway2008-01-1816-48/+74
| | | | | | | | | | Verify can start private broker & pass host/port to examples, by default it still uses local host/standard port. Added host:port to Socket error messages. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@613018 13f79535-47bb-0310-9956-ffa450edef68
* Added a test to measure latency (still needs refining, still evolving)Gordon Sim2008-01-172-0/+376
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612986 13f79535-47bb-0310-9956-ffa450edef68
* Removed erroneous commentGordon Sim2008-01-171-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612977 13f79535-47bb-0310-9956-ffa450edef68
* Intrusive list template qpid::IList and unit tests.Alan Conway2008-01-175-13/+433
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612976 13f79535-47bb-0310-9956-ffa450edef68
* removed argsArnaud Simon2008-01-171-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612829 13f79535-47bb-0310-9956-ffa450edef68
* see qpid-743Arnaud Simon2008-01-171-4/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612821 13f79535-47bb-0310-9956-ffa450edef68
* see qpid-742Arnaud Simon2008-01-175-2/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612820 13f79535-47bb-0310-9956-ffa450edef68
* Cleanded up the samplesArnaud Simon2008-01-1718-748/+346
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612811 13f79535-47bb-0310-9956-ffa450edef68
* Use amq.direct in reply to (as queue is bound to that exchange anyway)Gordon Sim2008-01-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612810 13f79535-47bb-0310-9956-ffa450edef68
* Set the exchange field in delivery properties on the broker.Gordon Sim2008-01-172-1/+2
| | | | | | | | (required an adjustment to the size of messages in the bytes based credit test) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612805 13f79535-47bb-0310-9956-ffa450edef68
* fixed an error in AMQTopic.javaRajith Muditha Attapattu2008-01-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612620 13f79535-47bb-0310-9956-ffa450edef68
* This example is written using the AMQP Java API and interoperates with the ↵Rajith Muditha Attapattu2008-01-163-0/+223
| | | | | | python and c++ client git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612598 13f79535-47bb-0310-9956-ffa450edef68
* This example is written to interoperate with the c++ and python examples and ↵Rajith Muditha Attapattu2008-01-164-0/+532
| | | | | | looksup a destination defined in the properties file. The destination defines a fannout exchange and a queue git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612597 13f79535-47bb-0310-9956-ffa450edef68
* Fixed various compilation errorsRajith Muditha Attapattu2008-01-1615-286/+164
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612593 13f79535-47bb-0310-9956-ffa450edef68
* Modified the direct exchange examples to interoperate with the c++ and ↵Rajith Muditha Attapattu2008-01-164-107/+104
| | | | | | | | | | | | python examples by allowing the ability to specify a routing key that is different from it's queue name. Also deleted the sample.properties and replaced them by property files for each example. I also removed the dependency on the BaseExamples class. Waiting for Arnaud to review it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612584 13f79535-47bb-0310-9956-ffa450edef68
* Please refer JIRA's 739,740 and 741 for more information about the issues.Rajith Muditha Attapattu2008-01-1610-85/+80
| | | | | | | | | | | | | | | | | | | | AMQDestination Renamed the destinationName to routingKey as it is incorrectly used. Also modified it to recognize fannout exchange AMQQueue Modified to return the proper routing key to support situations where the queue name and the routing key is different. BasicMessageProducer_0_10.java Added a temp hack to interoperate with python. The bug is in python and it needs to be fixed. Basically python relies on the content length to pass the content frames properly. So I added a line to calculate the content length and sets it in the message properties. The rest was modified to reflect the change done in AMQDestination. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612581 13f79535-47bb-0310-9956-ffa450edef68
* Add option to perftest to run for n iterations and print averages of all ↵Gordon Sim2008-01-161-75/+128
| | | | | | reported rates. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612478 13f79535-47bb-0310-9956-ffa450edef68
* Changed for using JNDI destinations and log4J conf fileArnaud Simon2008-01-166-21/+116
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612473 13f79535-47bb-0310-9956-ffa450edef68
* see QPID-739Arnaud Simon2008-01-161-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612471 13f79535-47bb-0310-9956-ffa450edef68
* Added MESSAGE_FLOW_MAX_BYTES that is used by new examples. This value may ↵Arnaud Simon2008-01-161-0/+1
| | | | | | need to be changed as it has only be added to repair the build. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612396 13f79535-47bb-0310-9956-ffa450edef68
* Added option for making each published message have unique data (that can be ↵Gordon Sim2008-01-151-5/+26
| | | | | | tracked e.g. for latency measurement) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612086 13f79535-47bb-0310-9956-ffa450edef68
* From https://issues.apache.org/jira/browse/QPID-737 by Ted Ross.Alan Conway2008-01-141-3/+3
| | | | | | | | | The new --load-dir and --load options don't work with boost-1.33. This older version considers the option --load to be ambiguous. This patch change --load to --load-module to remove the ambiguity. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611876 13f79535-47bb-0310-9956-ffa450edef68
* Apply patch from QPID-732 by Ted Ross.Alan Conway2008-01-1413-80/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The attached patch provides support for plugin modules in the C++ broker. - Plugins are supported (--load <lib>, --load-dir <dir> options provided) - Command options may be extended by plugins. - A workaround was added to make config-file parsing tolerant of unregistered options. - Store-specific options were removed so they can be supplied by a plugin - A pre-log facility was introduced so log messages can be generated prior to the initialization of the logging module. File-by-file details: M cpp/src/qpidd.cpp Added support for loadable plugin modules. This involves a two-phased handling of command line/config options. Phase-1 determines which modules to load and phase-2 is based on all of the command-line options supplied by qpidd and the loaded plugins. M cpp/src/Makefile.am Added dependency for boost_filesystem library. M cpp/src/qpid/Plugin.h Added 'earlyInitialize' method. Plugins are now initialized at two points: earlyInitialize is called prior to broker initialization and initialize is called at the end of broker init. This allows modules like the store to be hooked in early and other modules to be able to assume that the broker target is fully functional. M cpp/src/qpid/cluster/ClusterPlugin.cpp Added stub for the new pure-virtual earlyInitialize method. M cpp/src/qpid/Options.h M cpp/src/qpid/Options.cpp Added 'allowUnknown' option in the parse method. This is needed in phase-1 command processing when there are options for not-yet-loaded plugin modules. Because the stable version of boost does not permit 'allowUnknown' for config files, a workaround has been implemented in this module to pre-filter the config file text removing lines that represent unknown options. M cpp/src/qpid/broker/Broker.h M cpp/src/qpid/broker/Broker.cpp Removed all store-specific command options. Updated logic to allow the store to be a plugin module. M cpp/src/qpid/broker/DtxManager.h M cpp/src/qpid/broker/DtxManager.cpp M cpp/src/qpid/broker/QueueRegistry.h M cpp/src/qpid/broker/QueueRegistry.cpp Changed API to these classes such that the store is no longer supplied in the constructor but is supplied later, before any operations are called for. M cpp/src/qpid/broker/MessageStoreModule.h M cpp/src/qpid/broker/MessageStoreModule.cpp This module is still needed to provide "exception transfer" service. It was changed to not load the store module but rather use the already-loaded plugin store. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611823 13f79535-47bb-0310-9956-ffa450edef68
* Apply patch from QPID-732 by Ted Ross.Alan Conway2008-01-141-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The attached patch provides support for plugin modules in the C++ broker. - Plugins are supported (--load <lib>, --load-dir <dir> options provided) - Command options may be extended by plugins. - A workaround was added to make config-file parsing tolerant of unregistered options. - Store-specific options were removed so they can be supplied by a plugin - A pre-log facility was introduced so log messages can be generated prior to the initialization of the logging module. File-by-file details: M cpp/src/qpidd.cpp Added support for loadable plugin modules. This involves a two-phased handling of command line/config options. Phase-1 determines which modules to load and phase-2 is based on all of the command-line options supplied by qpidd and the loaded plugins. M cpp/src/Makefile.am Added dependency for boost_filesystem library. M cpp/src/qpid/Plugin.h Added 'earlyInitialize' method. Plugins are now initialized at two points: earlyInitialize is called prior to broker initialization and initialize is called at the end of broker init. This allows modules like the store to be hooked in early and other modules to be able to assume that the broker target is fully functional. M cpp/src/qpid/cluster/ClusterPlugin.cpp Added stub for the new pure-virtual earlyInitialize method. M cpp/src/qpid/Options.h M cpp/src/qpid/Options.cpp Added 'allowUnknown' option in the parse method. This is needed in phase-1 command processing when there are options for not-yet-loaded plugin modules. Because the stable version of boost does not permit 'allowUnknown' for config files, a workaround has been implemented in this module to pre-filter the config file text removing lines that represent unknown options. M cpp/src/qpid/broker/Broker.h M cpp/src/qpid/broker/Broker.cpp Removed all store-specific command options. Updated logic to allow the store to be a plugin module. M cpp/src/qpid/broker/DtxManager.h M cpp/src/qpid/broker/DtxManager.cpp M cpp/src/qpid/broker/QueueRegistry.h M cpp/src/qpid/broker/QueueRegistry.cpp Changed API to these classes such that the store is no longer supplied in the constructor but is supplied later, before any operations are called for. M cpp/src/qpid/broker/MessageStoreModule.h M cpp/src/qpid/broker/MessageStoreModule.cpp This module is still needed to provide "exception transfer" service. It was changed to not load the store module but rather use the already-loaded plugin store. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611822 13f79535-47bb-0310-9956-ffa450edef68
* Added AMQP API examples. The intention is to include these in the M3 release.Rajith Muditha Attapattu2008-01-118-0/+646
| | | | | | | | Also they should interoperate with python and c++ examples. Currently I couldn't test complete interoperability due to some c++ examples not compiling and also some python examples doesn't seem to run out of the box due to dependency issues. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611251 13f79535-47bb-0310-9956-ffa450edef68
* A new management data type (and the code-generation support for it) have ↵Alan Conway2008-01-112-7/+65
| | | | | | been added that allows min/max/average statistics to be tracked. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611209 13f79535-47bb-0310-9956-ffa450edef68
* Allow more than one message to be encoded into a single buffer if available.Gordon Sim2008-01-111-2/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611205 13f79535-47bb-0310-9956-ffa450edef68
* svn:ignore propertiesAlan Conway2008-01-110-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611010 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in Connector - incorrect use of iterator.Alan Conway2008-01-112-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611009 13f79535-47bb-0310-9956-ffa450edef68
* Client always collects at least an entire frameset into a single bufferAlan Conway2008-01-107-240/+287
| | | | | | | | | | | | | when possible. Based on patch from Gordon Sim. - Refactor Connector::writebuff, ::send as Connector::Writer - Collect frames up to EOF notifying AIO write. - Encode all available complete framesets into buffers as compactly as possible. - Logging buffer size and frames encoded per write for client and broker. - framing::Buffer added getPosition(), getSize(), default ctor, copy ctor. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@610972 13f79535-47bb-0310-9956-ffa450edef68
* removed an empty java fileRafael H. Schloming2008-01-091-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@610614 13f79535-47bb-0310-9956-ffa450edef68
* Extra level of exception handling to prevent core dumps.Gordon Sim2008-01-091-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@610354 13f79535-47bb-0310-9956-ffa450edef68
* add missing header file SessionManager.hNuno Santos2008-01-071-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@609786 13f79535-47bb-0310-9956-ffa450edef68
* Omitted in previous commit.Alan Conway2008-01-071-0/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@609680 13f79535-47bb-0310-9956-ffa450edef68
* Patch from https://issues.apache.org/jira/browse/QPID-722 by Ted Ross:Alan Conway2008-01-0713-142/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two changes in this patch: 1) Management object IDs are now persistent for persistent (durable) objects. This is required to provide continuity of historical management data across broker restarts. The format of object IDs now indicates whether they are transient or persistent. The upper bit (bit 63) is 0 for transient IDs and 1 for persistent IDs. 2) Changes have been made to the management code generator in preparation for allowing it to be used by outside projects that wish to use the broker Plugin API for management access. File-by-file notes: M python/mgmt-cli/managementdata.py Enhanced user-friendly display of 64-bit object IDs to differentiate between persistent IDs and non-persistent IDs. M cpp/src/Makefile.am Changed command line format for call to the management code generator. M cpp/src/qpid/broker/Broker.cpp M cpp/src/qpid/broker/Vhost.cpp M cpp/src/qpid/broker/Queue.cpp Updated calls to ManagementAgent::addObject to use the new support for persistent IDs, ensuring that the management object IDs for persistent objects are themselves persistent. M cpp/src/qpid/management/ManagementAgent.h M cpp/src/qpid/management/ManagementAgent.cpp Added support (using defaulted arguments) to ManagementAgent::addObject for persistent object IDs M cpp/managementgen/generate.py M cpp/managementgen/schema.py M cpp/managementgen/main.py Added the ability for templates to set variables to be used during code generation. Makefile fragment is now generated using a template rather than hard-code. This was done to help non-qpid code to use the code generator for management-via-qpid support. M cpp/managementgen/templates/Args.h M cpp/managementgen/templates/Class.cpp M cpp/managementgen/templates/Class.h Use a generator variable to define the comment prefix. A cpp/managementgen/templates/Makefile.mk New template for the qpid makefile fragment. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@609672 13f79535-47bb-0310-9956-ffa450edef68
* Ensure tx test retains durability of 'transfered' messages.Gordon Sim2008-01-041-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608948 13f79535-47bb-0310-9956-ffa450edef68
* Additional test for excercising transactional behaviour.Gordon Sim2008-01-042-0/+275
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608916 13f79535-47bb-0310-9956-ffa450edef68
* Provide method to test for empty local queue.Gordon Sim2008-01-043-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608915 13f79535-47bb-0310-9956-ffa450edef68
* Makefile.am: added check-long target to run perftest scenarios.Alan Conway2008-01-047-5/+25
| | | | | | | | | Not run as part of normal check target. Takes about 5 minutes to run on an amd-32 optimized build. For a longer run, increase PERFTEST_MULT in run_perftest. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608892 13f79535-47bb-0310-9956-ffa450edef68
* see Qpid-721Arnaud Simon2008-01-041-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608875 13f79535-47bb-0310-9956-ffa450edef68
* estSend2ThenCloseAfter1andTryAgain from CommitRollbackTest randomlyArnaud Simon2008-01-041-8/+8
| | | | | | | | fails because a message is not marked as redelivered (see line 468). I have removed this assertion check as 0.10 uses different semantics (i.e. 0.10 does not expect the message to be marked as redelivered). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608868 13f79535-47bb-0310-9956-ffa450edef68
* cashed headers: see QPID-720Arnaud Simon2008-01-046-15/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608840 13f79535-47bb-0310-9956-ffa450edef68
* chshed headers: see QPID-720Arnaud Simon2008-01-047-20/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608838 13f79535-47bb-0310-9956-ffa450edef68
* changed M2 to 0.10Arnaud Simon2008-01-041-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608835 13f79535-47bb-0310-9956-ffa450edef68
* added mina logging levelArnaud Simon2008-01-041-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608834 13f79535-47bb-0310-9956-ffa450edef68