summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1513 - Fix corner case where incompleted schema records areTed Ross2008-12-031-3/+5
| | | | | | | not completed if the agent disconnects mid-startup. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722953 13f79535-47bb-0310-9956-ffa450edef68
* Corrected doxygen comment.Alan Conway2008-12-031-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722923 13f79535-47bb-0310-9956-ffa450edef68
* Minor fix: reuse assigned bank info when broker disconnects and reconnects.Ted Ross2008-12-031-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722888 13f79535-47bb-0310-9956-ffa450edef68
* cluster: add Event size to encoded header.Alan Conway2008-12-033-8/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722728 13f79535-47bb-0310-9956-ffa450edef68
* Fix bad assert(), causing compile failures in debug builds.Alan Conway2008-12-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722712 13f79535-47bb-0310-9956-ffa450edef68
* PollableQueue: fix unsafe use of dequeAlan Conway2008-12-023-12/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722622 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: handle CPG flow-control conditions.Alan Conway2008-12-0210-67/+101
| | | | | | | PollableQueue: allow dispatch functions to refuse dispatch. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722614 13f79535-47bb-0310-9956-ffa450edef68
* Avoid potential deadlock between IO thread in Connector::handleClosed() and ↵Gordon Sim2008-12-021-1/+4
| | | | | | application thread in ConnectionImpl::closed() git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722554 13f79535-47bb-0310-9956-ffa450edef68
* Added management accounting for transaction dequeues.Ted Ross2008-12-021-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722446 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1497: Ensure policy count and size reflect transactionality of dequeuesGordon Sim2008-12-018-10/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722200 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a performance regression caused by the management code.Ted Ross2008-12-013-23/+28
| | | | | | | | | | The current/last-change timestamp is now set on management objects when they are published, not when they actually change. Also, the timestamp is updated only if modifications were made to the object in the last publish interval. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722120 13f79535-47bb-0310-9956-ffa450edef68
* cluster: Queue outgoing multicast events.Alan Conway2008-12-012-7/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722101 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1495: Patch from Danushka Menikkumbura to fix compilation problem.Gordon Sim2008-12-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1280: fixed performance regression for multiple subscribers on shared queueGordon Sim2008-11-294-27/+167
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721685 13f79535-47bb-0310-9956-ffa450edef68
* Added cluster log messages.Alan Conway2008-11-283-21/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721542 13f79535-47bb-0310-9956-ffa450edef68
* Backed out last change; not sure it actually makes sense.Gordon Sim2008-11-272-12/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721258 13f79535-47bb-0310-9956-ffa450edef68
* Ensure broker doesn't hang waiting for async enqueue to complete on shutdown.Gordon Sim2008-11-272-2/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1264: fix for topic exchange (patch from astitcher@redhat.com)Gordon Sim2008-11-271-4/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721243 13f79535-47bb-0310-9956-ffa450edef68
* Disabling underflow check in QueuePolicy until reported failures in javas ↵Gordon Sim2008-11-271-2/+8
| | | | | | org.apache.qpid.test.unit.xa.TopicTest can be investigated. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721188 13f79535-47bb-0310-9956-ffa450edef68
* Further check in decode of policy.Gordon Sim2008-11-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721174 13f79535-47bb-0310-9956-ffa450edef68
* * QPID-1488: test that policy pointer is setGordon Sim2008-11-277-10/+51
| | | | | | | | | * don't flow to disk for null store implementation * add checks for undeflow in queue policy git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721166 13f79535-47bb-0310-9956-ffa450edef68
* Was causing cluster failures.Alan Conway2008-11-264-5/+42
| | | | | | | QPID-1488 Mick Goulish: QueuePolicy serialization fix for cluster braindump. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1489: Tidy epoll code to remove a valgrind warning on 32bit Linux:Andrew Stitcher2008-11-261-23/+27
| | | | | | | | - We weren't initialising all 64 bits of a union that was being passed to epoll_ctl on 32 bit Linuxes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720978 13f79535-47bb-0310-9956-ffa450edef68
* Bug fixes for QMF:Ted Ross2008-11-262-29/+36
| | | | | | | | | | | | ManagementAgentImpl - don't send messages if broker is not connected. ManagementBroker - agents could be assigned the same agentBank - don't send console-attached for attached agents - handle multiple qmf messages in an AMQP body schema.py - Don't use the FieldTable copy-constructor, use .clear() git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720973 13f79535-47bb-0310-9956-ffa450edef68
* Added a copy constructor and assignment operator to FieldTable.Ted Ross2008-11-262-0/+15
| | | | | | | | | | | | | | | | | This was done to solve a library problem with the RHEL4 distribution. The compiler generated the assignment operator in an application using the C++ qpid client libraries. This generated function (referenced by a weak symbol) appeared to be causing problems in the heart of the library (handling of the ConnectionStartBody) with regard to the handling of field tables. The failure mechanism is not fully understood, but this seemingly innocuous change solves the problem. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720972 13f79535-47bb-0310-9956-ffa450edef68
* Cluster.cpp: Fixed last-node-standing logic, better logging.Alan Conway2008-11-263-72/+75
| | | | | | | Shlib.cpp: added file name to errors messages. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720924 13f79535-47bb-0310-9956-ffa450edef68
* Clean up logging a bit: only warn once, not for every connectionGordon Sim2008-11-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720538 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1478: Same fix is required in SslConnector unfortunately.Gordon Sim2008-11-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720271 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1478: ensure concurrent publishers work correctly (as well as reported ↵Gordon Sim2008-11-243-4/+5
| | | | | | assertion, the test uncovered a potential deadlock due to bounds being expanded before frames were added to queue). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720251 13f79535-47bb-0310-9956-ffa450edef68
* Reduce logging noise from NullMessageStore: log "persistence disabled" once ↵Alan Conway2008-11-243-39/+14
| | | | | | at start up, not on every action. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720243 13f79535-47bb-0310-9956-ffa450edef68
* Avoid spurious error message for TransportFailureGordon Sim2008-11-241-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720178 13f79535-47bb-0310-9956-ffa450edef68
* Clearer error message for case when specified module-dir is not a directory.Gordon Sim2008-11-241-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720177 13f79535-47bb-0310-9956-ffa450edef68
* Fixed several problems related to qmf update timestamps:Ted Ross2008-11-214-35/+31
| | | | | | | | | | | | | - Timestamps were set at update send time regardless of whether the object's contents were actually changed. Now timestamps are set at the time of the change. - Agent heartbeat messages are now being sent after periodic updates, not before. Cleaned up the Agent object in qmf.console. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719699 13f79535-47bb-0310-9956-ffa450edef68
* Add missing bounds checks.Alan Conway2008-11-201-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719419 13f79535-47bb-0310-9956-ffa450edef68
* Exorcise remains of boost.spirit parser.Alan Conway2008-11-201-68/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719410 13f79535-47bb-0310-9956-ffa450edef68
* Add proper cleanup of stored management objects during agent shutdown.Ted Ross2008-11-201-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719326 13f79535-47bb-0310-9956-ffa450edef68
* Replaced boost.spirit-based URL parser with simple recursive descent parser.Alan Conway2008-11-204-38/+196
| | | | | | | | | | | | | boost.spirit has some known thread-safety issues and appears to be causing qpid clients to crash in several scenarios. The new parser is trivially thread safe and relatively easy to extend. It's a simple recursive descent parser, sufficient for simple grammars like those used in URL formats. It's not intended to be a full-featured parser framework like spirit. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719317 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1476 - routing keys used for updates can't be used to discriminate by agentTed Ross2008-11-202-13/+24
| | | | | | | | | - Fixed routing keys in agents and binding keys in consoles - Added some additional debug output for ManagementAgentImpl - Minor cleanup in the connection close path for ManagementAgentImpl git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719245 13f79535-47bb-0310-9956-ffa450edef68
* Replace lower_bound with equivalent loop; resolves QPID-1424Stephen D. Huston2008-11-191-3/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719133 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that callbacks are removed before IncompleteMessageList instance is ↵Gordon Sim2008-11-195-1/+11
| | | | | | | | | | deleted. (also removed commented out line of code from Queue.cpp) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719012 13f79535-47bb-0310-9956-ffa450edef68
* Fix seg fault caused by exceptiosn thrown in Cluster ctor.Alan Conway2008-11-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718983 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1474: Changed lock scope for PollerHandle::~PollerHandleAndrew Stitcher2008-11-191-0/+5
| | | | | | | Also check state better to make sure the impl can't be deleted more than once in a race git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718966 13f79535-47bb-0310-9956-ffa450edef68
* Fix --cluster-cman option to enable cman integration.Alan Conway2008-11-197-38/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718961 13f79535-47bb-0310-9956-ffa450edef68
* Removed overblown Doxygen comments.Jonathan Robie2008-11-191-25/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718937 13f79535-47bb-0310-9956-ffa450edef68
* Added doxygen documentation for Connection::open(ConnectionSettings)Jonathan Robie2008-11-181-2/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718718 13f79535-47bb-0310-9956-ffa450edef68
* Optional cluster integration with cman quorum service.Alan Conway2008-11-187-1/+195
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718693 13f79535-47bb-0310-9956-ffa450edef68
* Deleting doxygen_mainpage.h, which has moved to the src/cpp/docs/api directory.Jonathan Robie2008-11-171-28/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718280 13f79535-47bb-0310-9956-ffa450edef68
* Remove optimistic consume options. Better default message for SSL errors.Alan Conway2008-11-174-24/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718277 13f79535-47bb-0310-9956-ffa450edef68
* Avoid alarming error message when unencrypted tcp is disabled. Test ↵Gordon Sim2008-11-141-5/+4
| | | | | | availability of tcp transport rather than catching exception if its not enabled. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@714099 13f79535-47bb-0310-9956-ffa450edef68
* Added some failover capable testsGordon Sim2008-11-145-12/+18
| | | | | | | | Added grantCredit() method to subscription to allow simpler control of message delivery git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@714065 13f79535-47bb-0310-9956-ffa450edef68