summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2393 Count queues per user. Show queue limit in mgmt property.qpid-2393Charles E. Rolke2012-08-231-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2393@1376641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2393 Count queues. On disapproving a queue creation do management event ↵Charles E. Rolke2012-08-221-6/+6
| | | | | | | | | | and counting. Get rid of stray debug statement. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2393@1376103 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2393 Count queues per userCharles E. Rolke2012-08-2112-7/+365
| | | | | | | | | | | | | | | | | | | This patch adds a new class designed for managing thing like queues, exchanges, or bindings. Unlike connections the objects do not exist until after the Acl code issues approval. The per-user queue limit is a command line option --max-queues-per-user that is applied to all users. The queue limit is reported by QMF as a property, violations are emitted as events and counted as statistics. Self test code demonstrates two users running into their limits and later deleting and creating more queues. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2393@1375808 13f79535-47bb-0310-9956-ffa450edef68
* branch for queue counting acl quota work.Charles E. Rolke2012-08-210-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-2393@1375792 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4230 Username substitution keywords in Acl file. Repair function ↵Charles E. Rolke2012-08-211-4/+4
| | | | | | definitions that fail Windows compile. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1375583 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4230 (review 6645) Username substition keywords in Acl file.Charles E. Rolke2012-08-205-13/+738
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1375195 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unsupported argument.Kenneth Anthony Giusti2012-08-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1373957 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4234: ensure configuration observers see queue deletionGordon Sim2012-08-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1373831 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4051: document the effect of setting connecttimeout to 0Robert Gemmell2012-08-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1373596 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4178: Test value specified for no-local, rather than assuming its trueGordon Sim2012-08-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1373431 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA Initialize variable before its use.Charles E. Rolke2012-08-151-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1373429 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4178: Mark literals as unsigned intsGordon Sim2012-08-151-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1373409 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4231: Update optional BDB store to use version 5.0.58 of BDBKeith Wall2012-08-144-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1373155 13f79535-47bb-0310-9956-ffa450edef68
* Resolves QPID-4084, changing the format of high-res logged time from ↵Stephen D. Huston2012-08-141-14/+60
| | | | | | seconds-since-start to date/time, consistent with the POSIX version of the broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1373147 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: [Java Perf Tests] Modified acknowledgement mode graphs to ↵Keith Wall2012-08-142-9/+11
| | | | | | contrast different ack-modes with like message persistence settings git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1373133 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: modified perf test visualisation code so that chart-summary.html ↵Keith Wall2012-08-142-0/+15
| | | | | | | | now contains a table of contents. Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372852 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused client/test folderRobert Gemmell2012-08-1424-879/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372769 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused manual test classRobert Gemmell2012-08-141-277/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372768 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4227: accept different type for user id from qpid.Kenneth Anthony Giusti2012-08-131-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372567 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4178: Fix valgrind errors: prevent circular reference in messages, ↵Gordon Sim2012-08-135-7/+43
| | | | | | prevent uninitialised required credit value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372453 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: disable test against java broker pending resolution of debate ↵Gordon Sim2012-08-131-0/+1
| | | | | | associated with QPID-4178 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372379 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4111: fix issue in the docbook markup to get the PDF generation working ↵Robert Gemmell2012-08-121-7/+25
| | | | | | again git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372172 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4111: add licence header to various filesRobert Gemmell2012-08-1222-1/+436
| | | | | | | trunk equivalent of the changes made in r1372144 on the 0.18 release branch git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372149 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add a system property for configuring the historically hard coded ↵Robert Gemmell2012-08-124-17/+53
| | | | | | timeout value in IoNetworkTransport, remove dead code in ConnectionSettings git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372148 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4051: use the connecttimeout option value from the BrokerDetails object ↵Robert Gemmell2012-08-125-13/+41
| | | | | | to control the connect() timeout via the produced ConnectionSettings object git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372147 13f79535-47bb-0310-9956-ffa450edef68
* SSL changes for new buffer managementAndrew Stitcher2012-08-106-153/+149
| | | | | | | | | - Needed to rework SslConnector to mirror TCPConnector in order to make changes to the client side, but now Unix SSL and TCP client implementations are much more alike. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1371775 13f79535-47bb-0310-9956-ffa450edef68
* Rearrange buffer memory ownership to avoid leaking buffer memoryAndrew Stitcher2012-08-1012-70/+87
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1371774 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4142 C++ Broker connection counting gets usernames confused Charles E. Rolke2012-08-106-0/+63
| | | | | | | | | | when various auth mechanism are used. The issue is that the connection's userId is changed as the auth progresses. Also, the shadowed connections change differently from the non-shadowed connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1371772 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Avoid uninitialised variable warningAndrew Stitcher2012-08-101-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1371735 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Work around compiler warning from clang 3.1 about casting between ↵Andrew Stitcher2012-08-101-1/+1
| | | | | | type alignments git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1371695 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4178: broker refactoringGordon Sim2012-08-10138-7268/+4331
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1371676 13f79535-47bb-0310-9956-ffa450edef68
* Remove cluster (prerequisite for QPID-4178)Gordon Sim2012-08-1077-9578/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1371647 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4200: Add exception handling to qpid::client::AutoCancel destructorGordon Sim2012-08-092-2/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1371320 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4143: topic tests were inadvertently using persistent messages causing ↵Keith Wall2012-08-093-0/+3
| | | | | | | | misleading poor performance test results Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1371165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4162: Change Java Client/Java Broker to send a session.detached in ↵Keith Wall2012-08-082-40/+21
| | | | | | response to receiving unexpected control on detached transport, as required by AMQP 0-10 spec. The previous behaviour (throwing a ProtocolViolationException) was causing sporadic test failures on a number of CI instances for both Java and Python tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1370991 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4193: prevent race when connecting a multi-homed federated cluster.Kenneth Anthony Giusti2012-08-084-37/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1370792 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: use a single property to define the maven repository url being used ↵Robert Gemmell2012-08-082-2/+2
| | | | | | to source dependencies git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1370715 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Trivial correction to log message.Alan Conway2012-08-071-1/+1
| | | | | | Log message logic was inverted, making the message confusing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1370395 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA only expect READY backups in recovery.Alan Conway2012-08-074-6/+8
| | | | | | | | | | | Don't wait for un-ready backups to become ready in recover, they weren't ready before the failure so don't wait for them to become ready after a failure. Waiting for READY backups gives us equivalent safety to before the failure. Minor test & log improvements. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1370325 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4195 : Add AMQP 1.0 JMS Client to the release scriptRobert Godfrey2012-08-073-0/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1370138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4191: HA removing self address breaks if a VIP is used.Alan Conway2012-08-0610-54/+41
| | | | | | | | | | | | | | | | | | | Pre this patch the HA broker removed its own address from the set of cluster addresses to form the set of failover addresses. The goal was avoid useless self-connection attempts. However this was broken with a Virtual IP address where a single address is used for the entire cluster. The remove-self is not essential, self-connection attempts are prevented elsewhere. Backup brokers will be prevented from connecting to self by the same connection-observer as normal clients, and this patch addes self-connection checks ins This patch - removes the code to remove self-addresses - adds self-connection checks in ConnectionObserver - adds & reorders some log statements & comments for greater clarity. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1370002 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4194 : re-enable queue events in CATCHUP stateMichael Goulish2012-08-061-1/+7
| | | | | | | | | pavel moravec's fix -- without this, newbie broker with a replication queue will not replicate messages received during CATCHUP. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1369960 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4188: add fallback exception/error logging to MBeanInvocationHandlerImplRobert Gemmell2012-08-031-1/+26
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1369065 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4185: improve broker_example.acl to give more reasonable settings, ↵Robert Gemmell2012-08-031-12/+13
| | | | | | | | replacing some ALLOW-LOG with ALLOW for read only operations and removing 'dead rule' example. Applied patch from Philip Harvey <phil@philharveyonline.com> , Oleksandr Rudyy<orudyy@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1369046 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4189: Add unit tests for ConfiguredObjectToMapConverterKeith Wall2012-08-035-130/+350
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1369015 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4187: Improve operational management logging: - make ManagementActor ↵Robert Gemmell2012-08-033-35/+95
| | | | | | | | thread-safe, stop caching of log string without context principal set, use separate instance of ManagementActor with pre-set principal for opening and closing notifications for JMX connections Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4186: MBeanInvocationHandler now sets log actor before performing ↵Robert Gemmell2012-08-032-51/+219
| | | | | | | | authorisation, so that authorisation logging now includes principal name. Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368906 13f79535-47bb-0310-9956-ffa450edef68
* Remove static initialisation from EpollPollerAndrew Stitcher2012-08-021-5/+3
| | | | | | | | - It's better practice in a library not to rely on any globals or static initialisation. - This should also fix QPID-2367 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368685 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4184: enable the notifications beign logged by configuring the ↵Robert Gemmell2012-08-021-0/+5
| | | | | | associated logger git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4173: Switch off subscription.state logger to reduce the verbosity for ↵Robert Gemmell2012-08-021-0/+6
| | | | | | | | client with low prefetch Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1368528 13f79535-47bb-0310-9956-ffa450edef68