summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4630: HA Fix starting from persistent store.Andrew Stitcher2013-03-083-45/+88
| | | | | | | Reengineered code for converting a Variant to a FieldValue by reinstating code previously removed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454435 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4274 Applied the same fix when an exchange is deleted as the sameRajith Muditha Attapattu2013-03-071-0/+1
| | | | | | | situation could arise if the exchange gets deleted by a receiver or a producer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4274 Applied Pavel's fix of setting the resolved time to zero, butRajith Muditha Attapattu2013-03-071-0/+1
| | | | | | in a different location where the node deletes are handled. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454134 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Selectors for C++ broker - don't use boost::make_shared<>()Andrew Stitcher2013-03-071-2/+1
| | | | | | (It's not available in boost 1.33 - which is what RHEL5 has available - sigh) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4612 - Updated doxygen commentsTed Ross2013-03-072-38/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4630: HA fix inconsistent header file paths in legacystore.Alan Conway2013-03-073-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453972 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4630: HA Fix starting from persistent store.Alan Conway2013-03-077-32/+42
| | | | | | | | | | This was implemented in r1390123 but broken by subsequent changes. When re-starting a persistent HA cluster, the broker that becomes primary keeps its recovered queues while backup brokers discard their recovered queues and catch up from the primary. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4630: HA enable store tests if legacystore is built.Alan Conway2013-03-074-3/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453970 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3396 Excluded my new test until we make decision on whether to portRajith Muditha Attapattu2013-03-071-0/+2
| | | | | | the fix to the 8-8/0-9 code path. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453954 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3396 Fixed the typo from sasl_mech to sasl_mechs. This test wasRajith Muditha Attapattu2013-03-071-1/+1
| | | | | | passing (0-10 code path) due to the broker selecting CRAM_MD5. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Selectors for C++ broker - fixes windows builds and 32-bit buildsCharles E. Rolke2013-03-074-16/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453898 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4612 - Major cleanup in the API.Ted Ross2013-03-0720-327/+495
| | | | | | | | | Removed the singleton patterns. Added a single header file for all of Dispatch. Doxygen comments still need to be updated. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453628 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3396 Added a test case to verify that if mech needs user passwordRajith Muditha Attapattu2013-03-061-0/+24
| | | | | | and if they are not supplied and exception is thrown. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3396 Changed the test cases to relect that username and passwordRajith Muditha Attapattu2013-03-062-5/+4
| | | | | | is optional. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453559 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3396 Modified the URLParser to not throw an exception if theRajith Muditha Attapattu2013-03-063-5/+16
| | | | | | | | username and password is empty. Instead once a SASL mechanism is selected we check if that mechanism needs user/pass and then throw an exception at that point. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453558 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Selectors for C++ brokerAndrew Stitcher2013-03-061-6/+2
| | | | | | | - Changed unit test code that relied on non C++03 feature Windows compiler spotted this problem. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4617 Added a null check to clear ReplyTo.Rajith Muditha Attapattu2013-03-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4629 Improve validation of received frames.Andrew Stitcher2013-03-054-25/+39
| | | | | | | | | | | | | | | | | - Added checks to Buffer to ensure no buffer overruns occur; - Fixed an unsigned comparison error in the checking function. - Improved FieldValue decoding to check we've actually got data before allocating the space for it. - Disallowed large arrays (greater than 256 elements) of zero length elements - avoids potential memory exhaustion problems. [Fixes from Florian Weimer, Red Hat Product Security Team, lightly modified] This change fixes these vulnerabilities CVE-2012-4458 CVE-2012-4459 CVE-2012-4460 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453031 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4054: C++ Broker connection limits per userCharles E. Rolke2013-03-051-11/+97
| | | | | | | | | | QPID-4604: C++ Broker queue limits per user Add doc book description of changes to ACL processing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452966 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Selectors for C++ brokerAndrew Stitcher2013-03-051-8/+7
| | | | | | | | - Small fixes: * Missing include file (accidentally included under gcc) * Workaround some strange VS 2008 issue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452960 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Selectors for C++ brokerAndrew Stitcher2013-03-0411-231/+867
| | | | | | | | | | | | | - Added numeric and boolean values * To literals and identifier values * To the code that extracts values from message properties - Added the full set of comparison operators - Implemented full "unknown" semantics for all operators. - Implemented extended "is null" and "is not null" operators that allow expressions as well as just identifiers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452525 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Selectors for C++ brokerAndrew Stitcher2013-03-047-2/+59
| | | | | | | | - Added in amqp 1.0 support that uses a filter for the selector - This change requires at least qpid-proton 0.4 (or a lot of warning messages are produced by the broker) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452524 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Selectors for C++ brokerAndrew Stitcher2013-03-0411-5/+1166
| | | | | | | | | | | | | | | | | | | - Initial Selectors implemented: * Only string values supported (no numerics or bools) - Parses and executes the forms: * A=B * A<>B * I IS NULL * I IS NOT NULL - where A, B are strings or identifiers - I is an identifier * Conditional expressions can include the AND, OR and NOT operators and use parentheses. - Only limited special identifiers return useful values (although they are all recognised) - Unit tests for selector language git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452523 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Selectors for C++ brokerAndrew Stitcher2013-03-047-2/+192
| | | | | | | | | | | | | | | | - Add support to 0-10 protocol codepaths in client messaging library and the broker to transmit a selector when subscribing to a queue - This is specified by using a link property qpid.selector in the queue address. - The selector is actually transmitted under 0-10 as an user vlaue named qpid.selector in the arguments table of the subscription. - Added simple selector framework to broker. - Added in infrastructure for selector evaluation -- Put in place a trivial (but real) selector: The expression specifies a message property and returns true if it is present. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452522 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Changed subject filter to use described value now proton bug should ↵Andrew Stitcher2013-03-041-5/+4
| | | | | | be fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452520 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4604: C++ Broker queue limits controlled by ACL file. Patch from Ernie ↵Charles E. Rolke2013-03-018-131/+343
| | | | | | | | | | Allen. See https://reviews.apache.org/r/9703/ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451737 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4617 null is now returned when exchange and routingkey are set toRajith Muditha Attapattu2013-03-011-1/+1
| | | | | | null in a replyTo. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451727 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4582: Legacystore self test fail. Remove them from the test buildCharles E. Rolke2013-03-011-1/+1
| | | | | | | | until the tests are rewritten to account for porting issues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4615: Allow unix qpidd to pass in existing socket fds on cmdline.Andrew Stitcher2013-03-016-6/+107
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451446 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4614Ted Ross2013-03-014-14/+67
| | | | | | | | Added CTest hooks to the dispatch build. The unit tests are run with different buffer sizes (including one-octet buffers). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451444 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4610: Remove duplicated transport code from C++ brokerAndrew Stitcher2013-03-0112-814/+732
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451443 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4613 - Added field accessors for length and copied content to dx_message_t.Ted Ross2013-02-283-2/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451398 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4608 Added code to handle TransportException and any otherRajith Muditha Attapattu2013-02-281-0/+8
| | | | | | RuntimeException. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451362 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4609: Use correct synchronization lock in BrokerAdapter#getKeyStores().Alex Rudyy2013-02-281-1/+1
| | | | | | Fix suggested by Jakub Scholz git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451243 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Added non-blocking server-start for when the application want to ↵Ted Ross2013-02-284-5/+49
| | | | | | | | | keep its own main thread. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451069 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4608 Moved the exception handling code to a method. The method alsoRajith Muditha Attapattu2013-02-282-22/+26
| | | | | | | | | | checks for authorization denied exceptions and throws a JMSSecurityException instead of a regular JMSException. This allows applications that are specifically looking for authorization failures to handle that situation.There will not be any changes required for other applications. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4596: Add java broker ability to create/delete/update virtual hosts, ↵Alex Rudyy2013-02-2724-225/+1054
| | | | | | authentication providers and ports via REST interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450881 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4607: C++ Broker connection limit counting failsCharles E. Rolke2013-02-273-71/+86
| | | | | | | | | | | | | | | Repair a few small but critical errors in program logic. Repair several misconceptions in the self test including: * provide visibility to connections (not sessions) so that they may be closed. * dodge names that may survive open connections from other tests. Tests may pass if run first but then fail if run 30th. The whole acl.py module could use a clean up pass to close out the 50+ open connections that exist that the end of the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450841 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4606: Java performance test unit test timeouts increased to allow for ↵Phil Harvey2013-02-273-7/+6
| | | | | | slow CI servers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450696 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4605: Java performance test and visualisation unit tests now subclass ↵Phil Harvey2013-02-2755-169/+154
| | | | | | QpidTestCase so that we benefit from helpful logging in QpidTestCase git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450687 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4601: HA backup broker shuts down after redeclaring exchangeAlan Conway2013-02-262-1/+16
| | | | | | | There was a bug in ExchangeRegistry, it was always setting disp=created even if the exchange was already present. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450383 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4603: Teach qpid-send to send bool/int/float properties as well as stringsAndrew Stitcher2013-02-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450289 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4602: Fix broker startup when default log4j configuration is used and ↵Alex Rudyy2013-02-264-17/+58
| | | | | | fix java system tests to pass correctly log4j configuration path to the spawn broker if it contains spaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450151 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4600: New HA regularly shutting down active nodeAlan Conway2013-02-253-2/+12
| | | | | | | qpid-primary script was incorrect and failing on status calls, causing the broker to be restarted by rgmanager. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1449870 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Bug 891689 - New HA regularly shutting down active node"Alan Conway2013-02-253-12/+2
| | | | | | | This reverts commit r1449832, the commit comment did not include a QPID JIRA number. A corrected version of the commit follows... git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1449869 13f79535-47bb-0310-9956-ffa450edef68
* Bug 891689 - New HA regularly shutting down active nodeAlan Conway2013-02-253-2/+12
| | | | | | | qpid-primary script was incorrect and failing on status calls, causing the broker to be restarted by rgmanager. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1449832 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA loggging: include status in log messages that refer to a BrokerInfoAlan Conway2013-02-256-22/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1449831 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4597: Java performance tests now support visualisation of timeseries data.Phil Harvey2013-02-2332-215/+885
| | | | | | | Refactored ChartBuilder hierarchy to reduce duplication, and renamed several classes to make them more intuitive. Added timeseries chart definitions in perftests/etc/c/timeseries/. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1449342 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-4594] Add command line option to start java broker in a management ↵Alex Rudyy2013-02-2216-15/+919
| | | | | | mode and options to set JMX and HTTP ports in management mode git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1448866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4538 - Renamed Qpid Nexus to Qpid DispatchTed Ross2013-02-2158-1603/+1606
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1448649 13f79535-47bb-0310-9956-ffa450edef68