summaryrefslogtreecommitdiff
path: root/qpid
Commit message (Collapse)AuthorAgeFilesLines
* src/tests/perfdist: Remove useless output.Alan Conway2007-11-281-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599203 13f79535-47bb-0310-9956-ffa450edef68
* Modified the code to not keep the command in the map if ↵Rajith Muditha Attapattu2007-11-281-17/+13
| | | | | | | | | | | | | | | | "enable_command_replay" is false. However we still need to keep the command_id to implement sync properly. By default "enable_command_replay" is false. The earlier implementation completely avoided incrementing the command count and putting it in the map. This causes a problem as it will break the contract for sync. When the client code calls sync we need to only return when the broker has sent the EM that is at or above that command_id. So we need to keep that around. Keeping track of command_ids is different from keeping commands around. We keep commands around for reply, but we need to keep track of command_id's to implement the execution layer properly. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599144 13f79535-47bb-0310-9956-ffa450edef68
* Add unit_test.h to distribution.Alan Conway2007-11-284-27/+29
| | | | | | | Updated/removed sundry FIXME comments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599128 13f79535-47bb-0310-9956-ffa450edef68
* Added header file to list of sourcesGordon Sim2007-11-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599124 13f79535-47bb-0310-9956-ffa450edef68
* Added the -DuseQueue option to switch between pub/sub and p2p.Rajith Muditha Attapattu2007-11-283-2/+5
| | | | | | | If useQueue is present then we use p2p. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599117 13f79535-47bb-0310-9956-ffa450edef68
* Changed the MINA version to 1.1.5.Rajith Muditha Attapattu2007-11-282-6/+8
| | | | | | | | Now the Broker module does not compile as it seem to depend on an obselete package. So I haev commented the broker module in the build. We can move the broker code to work with the new MINA version during the f2f. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599116 13f79535-47bb-0310-9956-ffa450edef68
* Fix exception handling bug.Alan Conway2007-11-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599103 13f79535-47bb-0310-9956-ffa450edef68
* Fixed to build with boost 1.34 as well as boost 1.33Alan Conway2007-11-2826-83/+265
| | | | | | | | - boost::ptr_map API changed. - Boost.Test unit test framework changes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599067 13f79535-47bb-0310-9956-ffa450edef68
* src/tests/perfdist: Restore trace option, still used by some tests.Alan Conway2007-11-281-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599047 13f79535-47bb-0310-9956-ffa450edef68
* added enable_replay optionArnaud Simon2007-11-281-4/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599030 13f79535-47bb-0310-9956-ffa450edef68
* src/tests/perfdist: Updated for changes to perftest.Alan Conway2007-11-281-18/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599028 13f79535-47bb-0310-9956-ffa450edef68
* src/tests/perftest.cpp:Alan Conway2007-11-282-17/+43
| | | | | | | | - Added help text explaining multi-process use. - Fixed bug in multi-process mode, too many threads were started. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@599025 13f79535-47bb-0310-9956-ffa450edef68
* Disable recoding of frames for replay where replay will not be required.Gordon Sim2007-11-285-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@598992 13f79535-47bb-0310-9956-ffa450edef68
* Removed obsolete commentAndrew Stitcher2007-11-281-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@598939 13f79535-47bb-0310-9956-ffa450edef68
* Fixed test in line with changes made to defaults.Gordon Sim2007-11-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@598924 13f79535-47bb-0310-9956-ffa450edef68
* perftest improvements.Alan Conway2007-11-279-241/+441
| | | | | | | | | | | | | | | | | | | | | | NOTE: options have changed, see perftest --help. - Supports multiple publishers. - Subscribers set credit to receive exactly the expected no. of messages. - All transfers unconfirmed by default. client/Connector.cpp: Added connector ID to RECV/SENT logging client/Completion.h: Added default ctor. broker/Broker.cpp: --ack defaults to 0 - session acks disabled. client/SessionCore.cpp: Ignore surplus frames in CLOSING state. log/Options.cpp: By default log to stdout instead of stderr. Easier to grep. framing/AMQContentBody.h: Log message content even in NDEBUG mode. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@598770 13f79535-47bb-0310-9956-ffa450edef68
* Added the JVM switch -DnoAck to disable the sending the semantic ackRajith Muditha Attapattu2007-11-271-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@598719 13f79535-47bb-0310-9956-ffa450edef68
* added a jvm switch called -DnoAck to disable the semantic ack, the current ↵Rajith Muditha Attapattu2007-11-271-2/+1
| | | | | | solution used a Qpid specific NO_ACK method in the extended session. However if people are using a pure JMS API then they have no way of taking use of this feature, therefore I added this jvm switch git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@598717 13f79535-47bb-0310-9956-ffa450edef68
* new fileArnaud Simon2007-11-271-0/+95
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@598684 13f79535-47bb-0310-9956-ffa450edef68
* optimized message creationArnaud Simon2007-11-271-5/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@598559 13f79535-47bb-0310-9956-ffa450edef68
* optimized message creationArnaud Simon2007-11-271-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@598556 13f79535-47bb-0310-9956-ffa450edef68
* Switched all regular PersistentMessage* and PersistentMessage& to ↵Kim van der Riet2007-11-2611-58/+76
| | | | | | intrusive_ptr<PersistentMessage>, so as to hook into the refcount for a message while it is in the store. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@598440 13f79535-47bb-0310-9956-ffa450edef68
* QPID-689 from tross@redhat.com.Alan Conway2007-11-2324-1094/+1701
| | | | | | | | This patch introduces formal schema specification for management and code generation for management classes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@597662 13f79535-47bb-0310-9956-ffa450edef68
* Added framing::BodyHolder:Alan Conway2007-11-2253-621/+397
| | | | | | | | | | | | | | - Uniform holder for all body types, replaces MethodHolder. - Uses in_place constructors to avoid avoid body copy. framing::AMQFrame: - Holds body in heap-allocated intrusive_ptr<BodyHolder> - Uses in_place constructors to avoid avoid body copy. Removed/downgraded to TODO many redundant FIXME comments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@597513 13f79535-47bb-0310-9956-ffa450edef68
* Gordon's patch to fix ack-per-message by SubscriptionManagerAlan Conway2007-11-221-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@597499 13f79535-47bb-0310-9956-ffa450edef68
* optimized message creationArnaud Simon2007-11-223-71/+108
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@597478 13f79535-47bb-0310-9956-ffa450edef68
* Added prod.setDisableMessageTimestamp(true);Arnaud Simon2007-11-221-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@597477 13f79535-47bb-0310-9956-ffa450edef68
* - set default to pre-acquire for acquire modeCarl C. Trieloff2007-11-213-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@597237 13f79535-47bb-0310-9956-ffa450edef68
* - added confirm mode to perftestCarl C. Trieloff2007-11-213-5/+22
| | | | | | | | - added acquire mode to perftest git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@597228 13f79535-47bb-0310-9956-ffa450edef68
* Fixed intermittent hang on perftest consumer after first dequeueKim van der Riet2007-11-211-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@597189 13f79535-47bb-0310-9956-ffa450edef68
* src/tests/topictest: Added -h host parameter to script.Alan Conway2007-11-211-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@597187 13f79535-47bb-0310-9956-ffa450edef68
* Added a jvm option verify message orderRajith Muditha Attapattu2007-11-203-6/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@596850 13f79535-47bb-0310-9956-ffa450edef68
* Added exception copy at MessageStoreModule interface to protect against ↵Kim van der Riet2007-11-201-23/+25
| | | | | | unloading of module before the exception is handled. This was the case when exceptions cause the auto-unloading of the MessageStore module, and the exception that was thrown from within the module, now out of context, was being caught higher up and coring. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@596775 13f79535-47bb-0310-9956-ffa450edef68
* Drop annoying session sequence log messages.Alan Conway2007-11-201-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@596744 13f79535-47bb-0310-9956-ffa450edef68
* Removed exception thrown by setClientIDArnaud Simon2007-11-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@596660 13f79535-47bb-0310-9956-ffa450edef68
* Changed for no looking up destinations in JNDIArnaud Simon2007-11-2011-119/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@596647 13f79535-47bb-0310-9956-ffa450edef68
* added licence textArnaud Simon2007-11-207-0/+159
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@596640 13f79535-47bb-0310-9956-ffa450edef68
* changed importsArnaud Simon2007-11-201-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@596615 13f79535-47bb-0310-9956-ffa450edef68
* changed importsArnaud Simon2007-11-209-11/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@596614 13f79535-47bb-0310-9956-ffa450edef68
* Fix printing of headersGordon Sim2007-11-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@596612 13f79535-47bb-0310-9956-ffa450edef68
* Added new JMS examplesArnaud Simon2007-11-2011-0/+1827
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@596610 13f79535-47bb-0310-9956-ffa450edef68
* Fixes causing lost 'events' in queue dispatchGordon Sim2007-11-193-16/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@596277 13f79535-47bb-0310-9956-ffa450edef68
* Logging change: --log-enable level:pattern now does aAlan Conway2007-11-164-6/+6
| | | | | | | | substring match of pattern on the function name, instead of the file name. Allows more precise log filtering. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@595842 13f79535-47bb-0310-9956-ffa450edef68
* Added qpid::InlineVector - std::vector with inline storage to avoidAlan Conway2007-11-1610-13/+246
| | | | | | | | | | | | heap allocation for small vectors. Made SequenceNumberSet : public InlineVector<SequenceNumber, 2> In 100k perftest reduces heap allocation in client by 40%, broker 9%. . git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@595808 13f79535-47bb-0310-9956-ffa450edef68
* Added qpid::InlineVector - std::vector with inline storage to avoidAlan Conway2007-11-161-0/+2
| | | | | | | | | | | | heap allocation for small vectors. Made SequenceNumberSet : public InlineVector<SequenceNumber, 2> In 100k perftest reduces heap allocation in client by 40%, broker 9%. . git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@595807 13f79535-47bb-0310-9956-ffa450edef68
* Additional test covering the current hack for no-local used on exclusive queuesGordon Sim2007-11-161-0/+42
| | | | | | | | Additional check to second not-acquired test, asserting that messages aren't consumed git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@595636 13f79535-47bb-0310-9956-ffa450edef68
* QPID-687: comitted qpid-patch7-python.diff for real this time.Alan Conway2007-11-152-74/+190
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@595465 13f79535-47bb-0310-9956-ffa450edef68
* QPID-687: comitted qpid-patch7-cpp.diff qpid-patch7-python.diffAlan Conway2007-11-1510-277/+555
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@595453 13f79535-47bb-0310-9956-ffa450edef68
* Fix to auto-rollback which didn't do what it was supposed to (i.e. rollback ↵Gordon Sim2007-11-151-3/+24
| | | | | | | | | | a session ended with an open transaction) Fix to rollback to stop flow for subscriptions before the rollback, and restart after. This prevents any out of order delivery as rollback requeues the messages and will be redundant once QPID-686 is fixed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@595244 13f79535-47bb-0310-9956-ffa450edef68
* perftest.cppAlan Conway2007-11-141-31/+28
| | | | | | | | - Remove heap allocation per message in. - Verify sequence numbers in message data. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@595115 13f79535-47bb-0310-9956-ffa450edef68