summaryrefslogtreecommitdiff
path: root/java/common/src/main
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4873 Commiting patch by Helen Kwong.Rajith Muditha Attapattu2013-05-233-5/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1485878 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4849 The previous code was assuming that "CN" was the first entryRajith Muditha Attapattu2013-05-151-2/+3
| | | | | | | in the name string. Changed the code to first find "CN" and then extract from there. testMultipleCertsInSingleStore verifies this change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1483079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4831 : [Java Broker] Fix closedown on SSL when SSL and TCP can use same ↵Robert Godfrey2013-05-121-6/+9
| | | | | | port git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1481502 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4382 : [Java Broker] Implement the default exchange as a facade on top ↵Robert Godfrey2013-05-111-1/+1
| | | | | | of the queue registry git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1481350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4831 : [Java Broker] Allow SSL and non-SSL connections on the same portRobert Godfrey2013-05-112-1/+272
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1481331 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add missing licence headers to various java filesRobert Gemmell2013-05-051-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1479398 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4739: complete support for defining multiple key/trust stores and ↵Robert Gemmell2013-04-121-2/+0
| | | | | | assigning them on a port-specific basis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1467334 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4637: Change the Qpid version to 0.23Justin Ross2013-03-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1460486 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4000 : [Java Broker] Add conversion of 0-x messages to 1-0 subscriptionsRobert Godfrey2013-03-174-0/+1090
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1457482 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4636: add support for a broker 'peerStore' that can be used to perform ↵Robert Gemmell2013-03-143-20/+275
| | | | | | | | SSL client auth based on specific 'trusted peer' certs existing in it, rather than via use of a trusted CA cert. Applied patch from Michal Zerola git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1456554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: Introduce a configuration store in java broker allowing runtime ↵Alex Rudyy2013-02-192-11/+3
| | | | | | modifications and replace existing xml file configuration with json configuration store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1447646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4312 : [Java Client] add option for verification of queue existence ↵Robert Godfrey2013-02-041-0/+1
| | | | | | during creation of a MessageProducer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1442128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4541 Added the ability to turn off replay at the time the sessionRajith Muditha Attapattu2013-01-252-6/+34
| | | | | | | | is created. The XASessionImpl will use this feature to turn off replay on the underlying JMS session. This prevents messages being replayed outside the boundaries of the XA transaction. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1438725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4515: improved broker logging, particularly when receiving/sending AMQP ↵Phil Harvey2012-12-201-4/+3
| | | | | | | | 0-8/0-9 frames and when committing transactions. Work done by Keith (kwall) and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1424382 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Addressed review commentsRobert Godfrey2012-11-263-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1413549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Implement hearbeating in Java Broker (all protocol versions) and ↵Robert Godfrey2012-11-2511-32/+316
| | | | | | Java Client (0-8/9/9-1 path) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1413376 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4469: remove the unused sslContext parameter in ↵Robert Gemmell2012-11-253-4/+3
| | | | | | OutgoingNetworkTransport#connect() and cleanup associated dead code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1413363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: Update trunk versions to 0.21Justin Ross2012-11-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1411381 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4441: ensure that using FieldTable#addAll(table) works when providing a ↵Robert Gemmell2012-11-181-0/+1
| | | | | | source FieldTable that has been created from an encoded byte[] but has yet to be otherwise used git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1410949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4420: add documentation for SSL and the Anonymous + External ↵Robert Gemmell2012-11-041-10/+9
| | | | | | AuthenticationManagers along with some general cleanup and expanded testing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1405636 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4419: ensure the broker kills the 0-10 connection immediately for ↵Robert Gemmell2012-11-041-2/+3
| | | | | | explicit reason that no sasl mech was chosen, instead of sending an incorrect ConnectionTune and then killing the connection as side effect of a subsequent NPE. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1405489 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4335, QPID-4353: Refactored broker plugins to use simplified ↵Robert Gemmell2012-10-121-0/+13
| | | | | | | | | | | | | | | | ServiceLoader-based model rather than embedding Felix to use OSGi. Removed the ability to reload security configuration because this feature is not very useful in its current form and was making our code hard to refactor. Modified all tests to use jars rather than classes. This makes them closer to real-world deployments, e.g. the META-INF/services file is read from within the jar. Also moved various system tests from their respective modules into "systests". This removes the need for most modules to depend on systests, thus simplifying our dependency graph. Applied patch from myself, Keith Wall and Phil Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1397519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4359: stop logging spurious error messages (when caused by expected ↵Robert Gemmell2012-10-051-4/+16
| | | | | | behaviour of an SSLSocket) during closure of a connection using SSL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1394457 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3906 List Message support for JMS.Rajith Muditha Attapattu2012-09-281-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1391565 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4334: removed the firewall plugin and moved its functionality into the ↵Keith Wall2012-09-281-300/+0
| | | | | | | | Access Control plugin. Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1391430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4288 The pid and platform info are now fetched in a static blockRajith Muditha Attapattu2012-09-061-8/+19
| | | | | | and the cached value is returned. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1381625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4271: improve behaviour when embedding the broker inside a containerKeith Wall2012-09-041-13/+6
| | | | | | | | | | | | Avoid potential ThreadLocal leaks on Container owned threads for CurrentActor, AMQShortString and SecurityManager. Have LogRecorder unregistered itself from Log4J. Allow SIGHUP handling to be turned off (inappropiate to install signal handling when deployed inside Container. Allow use of custom RMI socket factory to be disabled. (The registration of a custom RMI socket with the JRE cannot be reversed (deficiency in JRE API) and this causes a large perm-gen leak). Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1380625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4261: extend BindingURLs to allow specifying exchange ↵Robert Gemmell2012-09-011-0/+3
| | | | | | | | | durable/autodelete/internal options, use the values when sending exchange declares during producer and consumer creation. Fix ExchangeDeclareHandler to set auto-delete properly (though we dont actually support it, and it was removed from the protocol in 0-9-1). Isolate AMQProtocolHandler use to the 0-8/0-9/0-9-1 specific Session/Producer/Consumer implementations that actually need it instead of letting it bleed through the abstraction and 0-10 implementations that dont use it. Add some other clarifying comments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1379748 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4242 : [Java Broker] Remove QMFv1 implementationRobert Godfrey2012-08-291-3/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1378496 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4250: ensure producer creation on 0-8/0-9/0-9-1 connections respects ↵Robert Gemmell2012-08-261-0/+12
| | | | | | the qpid.declare_exchanges system property. Add systest to highlight the issue and verify the fix. Add constants for the system properties. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1377521 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/qpid@1372148 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4051: use the connecttimeout option value from the BrokerDetails object ↵Robert Gemmell2012-08-122-1/+12
| | | | | | to control the connect() timeout via the produced ConnectionSettings object git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1372147 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/qpid@1370991 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3575 SessionExceptions (0-10 code path) are now marked as softRajith Muditha Attapattu2012-07-161-1/+19
| | | | | | | | | errors. When a Session receives an exception it is closed and the exception is notified via the ConnectionListener as well. However the exception is marked as a soft-error, therefore the connection will not be closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1362161 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4111: Move trunk version numbers to 0.19Justin Ross2012-07-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1359235 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add missing Apache licenses to Java source files; correct ↵Keith Wall2012-07-0215-36/+37
| | | | | | positioning of the license wrt to the package statement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1356257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4047 : [Java] Add timeout to socket connectRobert Godfrey2012-06-081-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1348224 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4042 : [Java Broker] Add SSL Client Auth supportRobert Godfrey2012-06-065-23/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1346817 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4038: log the Connection number and its local and remote addresses ↵Robert Gemmell2012-06-041-0/+18
| | | | | | after each [re]connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1346169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986, QPID-4009, QPID-4017: add constants for system ↵Robert Gemmell2012-05-292-9/+29
| | | | | | | | properties/defaults. Update default values for flow control timeouts to be consistent between 0-8/9/9-1 and 0-10 client paths (60sec). Increase the 'failover method timeout' for 0-8/9/9-1 client path to 120sec. Update documentation accordingly. Work by Philip Harvey <phil@philharveyonline.com> and myself, based on review feedback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1343680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986: Improved tests and resolved some potential thread-safety issuesRobert Gemmell2012-05-291-0/+8
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1343675 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3973 : [Java] Add support for non JKS key store types (patch supplied ↵Robert Godfrey2012-05-185-20/+48
| | | | | | by jsightle@redhat.com) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1340191 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986 : [Java Broker] Add producer flow control based on total disk usageRobert Godfrey2012-05-071-8/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1335290 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3864: add missing licence headers to files in the java tree that are ↵Robert Gemmell2012-04-193-0/+60
| | | | | | included in 0.16 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1327905 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3923: Store queue, exchange and binding as configured objects in bdb storeRobert Gemmell2012-04-171-0/+5
| | | | | | Applied patch by Oleksandr Rudyy <orudyy@gmail.com>, Phil Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1327003 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3912: Client failover fails to reconnect if a previous attempted ↵Keith Wall2012-03-281-0/+1
| | | | | | | | reconnection has failed 'late' in the connection start process. Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1306208 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3886 Committing a patch by Kevin Conner.Rajith Muditha Attapattu2012-03-084-11/+72
| | | | | | | The purpose of the patch is to improve the efficiency of processing known-complete (command id ranges). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1298536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3864: Adjust version numbers on trunk for development toward 0.18Justin Ross2012-03-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1298340 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3408 : Fix the Java Broker code so it both copes with machines where ↵Robert Godfrey2012-03-052-1/+5
| | | | | | IPv6 is present, but disabled, and does not open a random port to get a wildcard address git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1297049 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3605 : [Java Broker] Durable subscriber with no-local true receives ↵Robert Godfrey2012-02-281-1/+3
| | | | | | messages on re-connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1294884 13f79535-47bb-0310-9956-ffa450edef68