summaryrefslogtreecommitdiff
path: root/qpid/java/common
Commit message (Collapse)AuthorAgeFilesLines
...
* | QPID-4943: Introduce a feature for 0-8/0-9/0-9-1 protocols to close a ↵Alex Rudyy2013-06-214-7/+57
| | | | | | | | | | | | connection on receiving a mandatory unroutable message in a transacted session git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1495511 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4937 : [Java Broker] separate virtualhosts into different typesRobert Godfrey2013-06-191-6/+8
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494667 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4934 : [Java XA] Stop redundant session creation for XA Sessions, ↵Robert Godfrey2013-06-181-1/+16
| | | | | | | | | | | | improve logging for XA git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494214 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4925 : [Java Broker] Timeout connections which do not complete ↵Robert Godfrey2013-06-142-1/+10
| | | | | | | | | | | | connection handshake git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493240 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4900: Add the server properties to the AMQP 1.0 SASL ProtocolEngine as ↵Robert Gemmell2013-06-061-5/+11
| | | | | | | | | | | | well. Use the same base property names for all protocol versions, using the standard 'version' and 'product' property names from AMQP 0-x specs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1490260 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4904 : [Java] AMQShortString.equals should on return true if it is ↵Robert Godfrey2013-06-032-22/+15
| | | | | | | | | | | | being compared to another AMQShortString git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1488957 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4900 : [Java Broker] Broker should return its version to the client as ↵Robert Godfrey2013-06-021-0/+7
| | | | | | | | | | | | informational property in connection initiation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1488655 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4897 : [Java Broker] Allow selectors on bindings fro non-topic exchangesRobert Godfrey2013-06-011-1/+6
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1488561 13f79535-47bb-0310-9956-ffa450edef68
* | 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@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@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@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@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@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@1479398 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4798 : use stripped BSD licensed versions of the amqp spec filesRobert Godfrey2013-05-021-4/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478520 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4739: complete support for defining multiple key/trust stores and ↵Robert Gemmell2013-04-122-2/+37
| | | | | | | | | | | | assigning them on a port-specific basis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@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@1460486 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4636: expand testing of the new TrustManagersRobert Gemmell2013-03-171-40/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removes the 'app2' cert from the test broker peer store so it only contains the 'app1' cert. - Add a java broker trust store (currently continues to match client trust store, contans the test CA). - Add a java client keystore with a completely untrusted cert. - Add additional unit testing of QpidPeersOnlyTrustManager inc use of otherwise trusted certs, and completely untrusted certs. - Add additional unit testing of QpidMultipleTrustManager and its behaviour when wrapping a regular TrustManager, a QpidPeersOnlyTrustManager, and both at once. - Add system tests showing a client with untrusted SSL cert failing to connect, then succeeding when adding it to the peerStore on the broker. Work by myself and Michal Zerola. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457599 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@1457482 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4636: add unit tests for new TrustManagersRobert Gemmell2013-03-141-0/+162
| | | | | | | | | | | | Applied patch from Michal Zerola git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456555 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@1456554 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4390: Introduce a configuration store in java broker allowing runtime ↵Alex Rudyy2013-02-194-17/+44
| | | | | | | | | | | | modifications and replace existing xml file configuration with json configuration store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@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@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@1438725 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4281: Fix setting of log4j configuration in system tests. While testing ↵Alex Rudyy2013-01-241-0/+3
| | | | | | | | | | | | | | | | the fix, some tests were found to be failing on spawned profile due to config problems - also fixed these. Applied patch from Philip Harvey <phil@philharveyonline.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1438053 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@1424382 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4458: remove unused subdirs and files from gentools then move the ↵Robert Gemmell2012-12-1843-78/+8658
| | | | | | | | | | | | | | | | | | | | | | remainder src to java/common/gentools. - Integrate into the java common module build process - Retrieve the Velocity dependencies using Ivy. - Remove unused java/common/protocol-version.xml and cpp/src/generate.sh files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423705 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@1413549 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-2796 : Implement hearbeating in Java Broker (all protocol versions) and ↵Robert Godfrey2012-11-2514-34/+589
| | | | | | | | | | | | Java Client (0-8/9/9-1 path) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413376 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4469: remove the unused sslContext parameter in ↵Robert Gemmell2012-11-254-6/+4
| | | | | | | | | | | | OutgoingNetworkTransport#connect() and cleanup associated dead code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413363 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4461: remove spaces to ensure the log prefix/suffix options are passed ↵Robert Gemmell2012-11-231-4/+4
| | | | | | | | | | | | correctly following prior changes to argument construction git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412822 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4458: revert changes in r1412380, a CI build failure after a clean ↵Robert Gemmell2012-11-232-2/+75
| | | | | | | | | | | | checkout showed there is a usage path the changes didnt cover git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412726 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4458: remove the gentool/lib folder, retrieve the velocity dependencies ↵Robert Gemmell2012-11-222-75/+2
| | | | | | | | | | | | using Ivy, remove seemingly unused common/protocol-version.xml file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1412380 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@1411381 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4441: ensure that using FieldTable#addAll(table) works when providing a ↵Robert Gemmell2012-11-182-74/+33
| | | | | | | | | | | | 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@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@1405636 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4419: ensure the broker kills the 0-10 connection immediately for ↵Robert Gemmell2012-11-042-2/+10
| | | | | | | | | | | | 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@1405489 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4335, QPID-4353: Refactored broker plugins to use simplified ↵Robert Gemmell2012-10-122-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@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@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@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@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@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@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@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@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@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@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@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@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@1362161 13f79535-47bb-0310-9956-ffa450edef68