summaryrefslogtreecommitdiff
path: root/qpid/java/common
Commit message (Collapse)AuthorAgeFilesLines
* QPID-6101: Allow setting of qpid version suffix whilst building qpid common ↵Alex Rudyy2014-09-154-27/+60
| | | | | | library git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1625062 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5968 : [Java Client] Improve SSL hostname verificationRobert Godfrey2014-09-032-35/+1312
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622227 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6066: [Java Client] 0-8..0-9-1 only - Add system property to allow ↵Keith Wall2014-09-031-0/+10
| | | | | | | | | call to exchange.bound during AMQSession#getQueueDepth to be omitted This prevents interoperabiliy problem with older Java Brokers, and gives users a change to restore old behaviour (AMQChannelException in the event that the queue does not exist) if desired. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6055 : [Java Broker] Ensure max frame size is always less than ↵Robert Godfrey2014-08-302-3/+3
| | | | | | Integer.MAX_VALUE git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1621498 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6037 : [Java Client] Add experimental support for ADDR addressing to ↵Robert Godfrey2014-08-231-0/+3
| | | | | | the 0-8/9/9-1 client git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1620036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6022 : [Java] Fix issues highlighted by code scanning toolsRobert Godfrey2014-08-195-25/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618964 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6014 : [Java] declare variables as ConcurrentMap not ConcurrentHashMap ↵Robert Godfrey2014-08-181-5/+6
| | | | | | to avoid linking issues after compiling under Java 8 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618690 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6000 : [Java Broker] [Java Client] add the ability to configure ↵Robert Godfrey2014-08-168-6/+306
| | | | | | automatic message compression git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618375 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5993 : Fix more findbugs found issuesRobert Godfrey2014-08-131-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617822 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5978 : [Java Client] deal with protocol initialisation failures such as ↵Robert Godfrey2014-08-112-8/+16
| | | | | | unsupported versions, or attempting to connect to an HTTP port git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4429 : [Java] Implement max frame size negotiation checks in 0-x protocolsRobert Godfrey2014-08-0912-152/+210
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616977 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5980: more javadoc fixupsRobert Gemmell2014-08-0811-76/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616795 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5980: revert exclusion of selector parser from javadoc run, it is only ↵Robert Gemmell2014-08-081-13/+1
| | | | | | emitting warnings git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616794 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5980: exclude selector parser from javadoc, its full of generated ↵Robert Gemmell2014-08-081-1/+13
| | | | | | incomplete javadoc git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616793 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5980: more javadoc fixupsRobert Gemmell2014-08-0825-114/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616792 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5980: initial javadoc fixupsRobert Gemmell2014-08-0823-156/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616791 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5978 : [Java Client] fail faster when a TCP connection is established, ↵Robert Godfrey2014-08-081-6/+7
| | | | | | but the AMQP layer is not - e.g. due to SSL negotiation failure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616736 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5813: Advance version numbers on trunk to 0.29 or 0.32-SNAPSHOT as ↵Justin Ross2014-08-072-2/+2
| | | | | | appropriate git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616586 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5960: Turn on SSL host name verification by defaultAlex Rudyy2014-08-071-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5969 : [Java Common] Add support of AMQP 0-9-1 field-array typeRobert Godfrey2014-08-065-15/+253
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2969: Make AMQConnectionFactory and AMQDestination (and subclasses) ↵Keith Wall2014-07-201-1/+4
| | | | | | serializable git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1612097 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5903 : [Java Broker] allow character escaping for JSON in configured ↵Robert Godfrey2014-07-182-10/+132
| | | | | | object attribute interpolation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1611657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5892: SSL Sender may spuriously timeout if SSL negotiation failsKeith Wall2014-07-131-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1610251 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5774: first main swipe, remove the Ant builds main build.xml and ↵Robert Gemmell2014-05-211-67/+0
| | | | | | associated files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5754 : [Java Broker] Make state change operations methods rather than ↵Robert Godfrey2014-05-085-71/+36
| | | | | | calls to setDesiredState git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593264 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: update pom versions to 0.30-SNAPSHOT, using: mvn ↵Robert Gemmell2014-04-291-3/+3
| | | | | | release:update-versions -DdevelopmentVersion=0.30-SNAPSHOT git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590968 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5702: upgrade JUnit dependency from version 3.8.1 to 4.11, change ↵Robert Gemmell2014-04-221-32/+32
| | | | | | | | imports etc to remove deprecation notices Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589144 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Add virtual host node to the model and refactor ↵Keith Wall2014-04-211-0/+4
| | | | | | existing broker functionality to conform the new model. Save configuration model version as VHN attribute and refactor the upgraders and configuration recovery. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588886 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: re-instate dependency versions after qpid parent pom removal of ↵Robert Gemmell2014-04-211-0/+1
| | | | | | | | dependency management section. Patch supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588885 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5672 : [Java Broker] move variable interpolation to the configured objectRobert Godfrey2014-04-091-13/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5600: Advance the version number on trunk to 0.29Justin Ross2014-03-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579690 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5611 : [Java Broker] remove LogActorsRobert Godfrey2014-03-071-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575315 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5602: change log level to info, include socket address in message, ↵Robert Gemmell2014-03-051-1/+1
| | | | | | report only the exception type and message rather than logging full stackrace git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574506 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5596 : [Java] Address bugs found by FindBugsRobert Godfrey2014-03-031-22/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1573586 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: Maven enahancements to remove child version definitions and ↵Robert Gemmell2014-02-281-1/+0
| | | | | | | | improve profile handling for sys tests Patch supplied by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1572933 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: Maven enahancements to restructure POM hierarchy and improve buildRobert Gemmell2014-02-271-2/+2
| | | | | | Patch supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1572552 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5551 : Remove uses of AMQException, add ServerScopedRuntimeException ↵Robert Godfrey2014-02-142-89/+0
| | | | | | and ConnectionScopedRuntimeException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1568235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5504 : refactring of queues, and introduce management node and ↵Robert Godfrey2014-02-111-2/+2
| | | | | | amqp-management module git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1567026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: Maven POM refactoring - names, descriptions, dependencies & versionsRobert Gemmell2014-02-061-9/+11
| | | | | | Patch supplied by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565303 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5512: suppress exception sometimes seen due to race while closing the ↵Robert Gemmell2014-01-241-1/+6
| | | | | | | | socket on Windows, prevent erroneous ConnectionTest failures. Patch supplied by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1561000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5504 : initial refactoring to move common code into shared classes, ↵Robert Godfrey2014-01-2211-407/+12
| | | | | | make transports work similarly with respect to message routing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560424 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: logging and build output cleanupRobert Gemmell2014-01-223-8/+43
| | | | | | Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560398 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: Logging dependency and configuration tidy up for maven buildRobert Gemmell2014-01-221-12/+6
| | | | | | Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560392 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5065: modifications to get more tests running on windows (both ant and ↵Keith Wall2014-01-174-7/+90
| | | | | | | | | | | | maven). Also - Fixed the jca/rar pom module name, it should be qpid-ra not qpid-rar. - Added project details such as Website, Mailing List, SCM. Patch submitted by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1559096 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5342 : [Java Client] 0-10 client does not close connection when ↵Robert Godfrey2014-01-153-6/+27
| | | | | | heartbeat timeout interval has been exceeded git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5478: elapsed time calculation should use a simple assignment, rather ↵Robert Gemmell2014-01-141-1/+1
| | | | | | than a compound addition+assignment which could lead to erroneous accumulation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5472: [Java Broker] Exceptions used to report bind port failure ↵Keith Wall2014-01-121-1/+1
| | | | | | (AMQP/HTTP) now includes port id/name/number too git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1557591 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5373: move retrieval of the peer Principal into the connection IO ↵Robert Gemmell2014-01-114-35/+28
| | | | | | thread, retrieving from the NetworkConnection during the AMQP handshak after the SSL handshake must have already been completed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1557467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5420: Restore ability to consume using BURLs specifying default exchange.Keith Wall2014-01-071-0/+6
| | | | | | | | | | | | * Java Broker: Changed AbstractVirtualHost so that createExchange throws ExchangeExistException before checking for a reserved exchnage name. The effect will be that the Java Broker will again accept active declaration of the built in exchanges (amq.*, qpid.* and default). * Java Broker: Changed the 0-8..0-9-1 ExchangeBoundHandler so that a null exchnage name is treated to mean the default exchange. This matches the behaviour of ServerSessionDelegate#exchangeBound() on the 0-10 path. This allows the Java client to query bindings on the default exchange. * Client: Changed AbstractAMQMessageDelegate.java so that 0-10 knows the type of the default exchange when populating the JMSDestination on received messages. * Client: Introduced system property qpid.bind_queues system property so that the exchange/queue bind side effect can be suppressed on consumer creation. Like qid.declare_exchanges and declare_queues, this system propery has effect when using BURLs. Might be useful if using a new client with older broker. * Added new system tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1556292 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5282: Change IoSender to cause the socket to be closed after a sender ↵Keith Wall2013-11-201-28/+52
| | | | | | | | | | timeout IoSender#send now causes the socket to be closed in response to a sender timeout (in addition to the SenderException). Note that this code path avoids the close causing the sender thread join (as this would most likely timeout too). Also improved log/exception messages to include the remote socket address (to aid problem diagnosis). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1543721 13f79535-47bb-0310-9956-ffa450edef68