summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/agent
Commit message (Collapse)AuthorAgeFilesLines
* Merged out from trunkQPID-2519Stephen D. Huston2011-10-212-169/+196
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-2519@1187375 13f79535-47bb-0310-9956-ffa450edef68
* Undo bad merge from trunk - merged at wrong level.Stephen D. Huston2011-10-212-196/+169
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-2519@1187150 13f79535-47bb-0310-9956-ffa450edef68
* Merge trunk to QPID-2519 branchStephen D. Huston2011-10-202-169/+196
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-2519@1186990 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3032 - Bug-fix: The broker management agent and the remote C++ agent ↵Ted Ross2011-02-022-44/+47
| | | | | | | | | | | | | hard-coded the assumed value of the "exchange" component of reply-to headers to either "amq.direct" or "qmf.default.direct", depending on the circumstance. This commit fixes this such that message replies are sent to the exchange/key pair supplied in the reply-to header. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066557 13f79535-47bb-0310-9956-ffa450edef68
* Changes to QMFv2 formats to make the agents and consoles consistent:Ted Ross2011-01-061-6/+8
| | | | | | | | | 1) Events in _data_indication messages are carried as lists of events (consistent with object data) 2) Built-in attributes for agents (in _heartbeaet_indication) all start with '_' to differentiate them from user-defined attributes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1056112 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2934 Feature to pass the authenticated userId to QMF agent method ↵Ted Ross2010-11-092-11/+16
| | | | | | handlers for authorization git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033232 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2888: qmf v2 agent will republish all data on broker reconnect.Kenneth Anthony Giusti2010-09-302-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003052 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2859: Save the agent's name to the configuration file.Kenneth Anthony Giusti2010-09-152-20/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@997453 13f79535-47bb-0310-9956-ffa450edef68
* Removed spurious commentTed Ross2010-09-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@997370 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a thread safety issue in which the managementObjects map was used in ↵Ted Ross2010-09-142-55/+66
| | | | | | | | | | | an unsafe way (i.e. without the lock held). Replaced a raw pointer with a boost::shared_ptr to protect objects during method calls. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@997089 13f79535-47bb-0310-9956-ffa450edef68
* Add heartbeat value to the simpler init() case. Applications that use this ↵Ted Ross2010-09-071-0/+1
| | | | | | | | | init function will now get the protection of a connection heartbeat. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@993339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2841: set the TTL in agent heartbeat messages.Kenneth Anthony Giusti2010-09-012-3/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@991630 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2791: batch up data indications and repliesKenneth Anthony Giusti2010-08-122-25/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@984935 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug in setting of the app-id header (it was set in the ↵Ted Ross2010-08-021-1/+1
| | | | | | | | | | application-headers rather than the message-properties). Made the broker agent more selective about when it broadcasts console-added messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2782: update qmf console binding api.Kenneth Anthony Giusti2010-08-012-16/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981277 13f79535-47bb-0310-9956-ffa450edef68
* QMF: enable python console to pull schema info from agent.Kenneth Anthony Giusti2010-07-122-103/+138
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963479 13f79535-47bb-0310-9956-ffa450edef68
* QMF: add api to get agent id, and new object id constructor that uses agent id.Kenneth Anthony Giusti2010-07-082-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961919 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2716: QMF bugfix - set agent name in object idKenneth Anthony Giusti2010-07-021-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960012 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug in which QMF error return codes were being sent back as 7 - ↵Ted Ross2010-06-111-20/+12
| | | | | | Exception. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@953885 13f79535-47bb-0310-9956-ffa450edef68
* Replaced the earlier-removed init function (in ManagementAgent.h) that usesTed Ross2010-05-252-4/+23
| | | | | | | | ConnectionSettings. Created a ConnectionSettings in the qpid::management name space that mirrors that from the qpid::client namespace. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948046 13f79535-47bb-0310-9956-ffa450edef68
* QMF: allow consoles to filter agent heartbeats based on agent identification.Kenneth Anthony Giusti2010-05-181-3/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945871 13f79535-47bb-0310-9956-ffa450edef68
* Cluster management improvements:Ted Ross2010-04-231-1/+1
| | | | | | | | | | | 1) Enable all management methods via QMFv2 for clusters 2) Disable all management methods via QMFv1 for clusters 3) The broker-resident management agent can handle both v1 and v2 method calls 4) qmf.console (Python) now works with new and old brokers by detecting whether the broker can handle v2 commands git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937472 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1904: Ensure that all timestamp uses are correctly relative to 1/1/1970 ↵Andrew Stitcher2010-04-231-3/+3
| | | | | | | | | | epoch. - Removed the hacky way to access the internal time value in AbsTime now that there is a defined AbsTime value EPOCH. - Changed all the code to use Duration(EPOCH, abtime) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937147 13f79535-47bb-0310-9956-ffa450edef68
* QMF: Add timestamps to generated V2 objectsKenneth Anthony Giusti2010-04-191-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935704 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problems with the broker's QMFv2 mode:Ted Ross2010-04-161-0/+2
| | | | | | | | | | - app_id is a message property, not an application header - even in v2 mode, the agent must respond to v1 schema requests - missing object_id was added to the periodic data updates - epoch/boot-sequence added to agent information (locate-response, heartbeat) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935044 13f79535-47bb-0310-9956-ffa450edef68
* Tidy up unnecessary includes in ConnectionSettings and fix consequencesGordon Sim2010-04-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2489 - Added wrapped version of Mutex to isolate QMF-generated source ↵Ted Ross2010-04-091-27/+27
| | | | | | from boost. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932517 13f79535-47bb-0310-9956-ffa450edef68
* Merged the changes from the qmf-devel0.7a branch back to the trunk.Ted Ross2010-03-312-240/+475
| | | | | | | | | | | | | | | | | This is a checkpoint along the QMFv2 development path. This update introduces portions of QMFv2 into the code: - The C++ agent (qpid/agent) uses QMFv2 for data and method transfer o The APIs no longer use qpid::framing::* o Consequently, boost is no longer referenced from the API headers. o Agents and Objects are now referenced by strings, not numbers. o Schema transfer still uses the QMFv1 format. - The broker-resident agent can use QMFv1 or QMFv2 based on the command line options. It defaults to QMFv1 for compatibility. - The pure-python QMF console (qmf.console) can concurrently interact with both QMFv1 and QMFv2 agents. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929716 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2477: cleanup from patch by Jan SarenikGordon Sim2010-03-311-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929617 13f79535-47bb-0310-9956-ffa450edef68
* Move ManagementAgent class statics to be file static to avoid exposing their ↵Andrew Stitcher2010-03-261-4/+7
| | | | | | types in the header file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928054 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1982 - Don't allocate more than one instance of a PipeHandle.Ted Ross2010-02-021-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905713 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2251, QPID-1982 - Added alternative to non-portable FD notifier in the ↵Ted Ross2010-01-292-14/+55
| | | | | | c++ QMF agent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904645 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2357 Broker boot sequence doesn't synchronize when clustered - patch ↵Alan Conway2010-01-281-0/+7
| | | | | | from John Dunning git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904270 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2245 QMF protocol changes will make 0.6 incompatible with 0.5Ted Ross2009-12-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889619 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2132: further fix from Ken Giusti.Gordon Sim2009-10-082-6/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823279 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2132: Applied patch from Ken GiustiGordon Sim2009-10-082-19/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823094 13f79535-47bb-0310-9956-ffa450edef68
* Revisit fix for QPID-1737: (clash with Win32 symbol)Andrew Stitcher2009-09-011-2/+2
| | | | | | | Change all use of STATUS_INVALID_PARAMETER to STATUS_PARAMETER_INVALID git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810227 13f79535-47bb-0310-9956-ffa450edef68
* Initialize the update interval to a reasonable valueTed Ross2009-08-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804386 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'move_public_h_to_include' into trunkAlan Conway2009-07-152-196/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@794325 13f79535-47bb-0310-9956-ffa450edef68
* Add directory to #includeAlan Conway2009-07-143-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793909 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1786 - Committed qmf patches from Bryan KearneyTed Ross2009-06-111-2/+2
| | | | | | | | Additionally updated existing qmf and Qman to be compatible. The magic number for qmf messages has been incremented. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783818 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1852 Removed thread unsafe code in LoggerAndrew Stitcher2009-05-121-1/+1
| | | | | | | Fixed some potentially iffy code in Connector.h if a derived Connector doesn't have activateSecurityLayer() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774051 13f79535-47bb-0310-9956-ffa450edef68
* Hack around the namespace pollution in QPID-1737Andrew Stitcher2009-05-051-1/+1
| | | | | | | | Hack around simultaneous import and definition of ManagementAgent::Singleton in qpidbroker Make ACL plugin optional (default off on Windows currently) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771989 13f79535-47bb-0310-9956-ffa450edef68
* Add portability support for QMF agent, thanks to Pete McKinnon - partially ↵Stephen D. Huston2009-05-044-30/+57
| | | | | | fixes QPID-1731 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771457 13f79535-47bb-0310-9956-ffa450edef68
* Replace PF_LOCAL with PF_UNIX, since it seems to be equivalent, and the Manuel Teira Paz2009-03-051-1/+1
| | | | | | | former doesn't exist on Solaris (for instance) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750489 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: This fixes a bug in the management agent where an explicit get-requestTed Ross2009-02-251-0/+6
| | | | | | | | | on an object would cause the last-modified timestamp of the object to not get updated if the object had been modified since the last publish interval. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747946 13f79535-47bb-0310-9956-ffa450edef68
* Added a general ConnectionSettings alternative for agent initialization.Ted Ross2008-12-183-8/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727726 13f79535-47bb-0310-9956-ffa450edef68
* Bounce the connection if an exception is caught on message_transfer.Ted Ross2008-12-171-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727485 13f79535-47bb-0310-9956-ffa450edef68
* Converted output to cout to proper QPID_LOG statements.Ted Ross2008-12-172-70/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727265 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1540 - Added autoDelete and exclusive flags to queues declared by theTed Ross2008-12-161-1/+2
| | | | | | | QMF agent API. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727074 13f79535-47bb-0310-9956-ffa450edef68