summaryrefslogtreecommitdiff
path: root/qpid/java/common
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Only when a port is running TLS only can it be identified early as encrypted ↵Keith Wall2014-12-111-1/+4
| | | | | | | | | | | | | | | | | | (those running both PLAIN/TLS have to wait for the sniff) git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1644644 13f79535-47bb-0310-9956-ffa450edef68
* | | Ensure that the NonBlockingSenderReceiver closes (and thread stops) if the ↵Keith Wall2014-12-115-561/+26
| | | | | | | | | | | | | | | | | | peer closes the connection. Remove some more dead code. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1644625 13f79535-47bb-0310-9956-ffa450edef68
* | | Allow the transport to inform the model that encryption is being usedRobert Godfrey2014-12-114-80/+33
| | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1644586 13f79535-47bb-0310-9956-ffa450edef68
* | | Reenable support for SSL and Plain on the same port (i.e. the transport ↵Keith Wall2014-12-103-13/+85
| | | | | | | | | | | | | | | | | | sniffing). Reenable all TLS tests git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1644485 13f79535-47bb-0310-9956-ffa450edef68
* | | Iniital SSL workRobert Godfrey2014-12-107-50/+261
| | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1644437 13f79535-47bb-0310-9956-ffa450edef68
* | | Stop reading bytes from the wire once the transport is closed. Also prevent ↵Keith Wall2014-12-091-4/+7
| | | | | | | | | | | | | | | | | | further ByteBuffers being queued to be sent once the transport is closed too git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1644128 13f79535-47bb-0310-9956-ffa450edef68
* | | Omit the BrokerLoggingTest that tests SSL. As SSL is currently disabled the ↵Keith Wall2014-12-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | IO threads it was spawning were being left behind running on after the tests completed. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1644073 13f79535-47bb-0310-9956-ffa450edef68
* | | Ensure selector is closed, continue to use same backing buffer on read until ↵Robert Godfrey2014-12-091-18/+14
| | | | | | | | | | | | | | | | | | it is full git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1644014 13f79535-47bb-0310-9956-ffa450edef68
* | | NonBlockingSenderReceiver for the Java Broker for AMQP-0-10 and 0-9. ↵Keith Wall2014-12-082-17/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Heartbeating working. AMQ 1.0 not tested. System tests failing at about ~PriorityQueueTest with seeming resource leak. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1643866 13f79535-47bb-0310-9956-ffa450edef68
* | | QPID-6262: Rob's prototype NIO workKeith Wall2014-12-057-571/+1354
| |/ |/| | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1643302 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6257: Introduce operational log for connection being dropped by the ↵Alex Rudyy2014-12-051-0/+5
| | | | | | | | | | | | clients or due to network issue and change the log level for SenderExceptions into INFO/DEBUG git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1643208 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6253: [Java Broker] Name the AMQP acceptor threads to carry a ↵Keith Wall2014-12-021-0/+1
| | | | | | | | | | | | descriptive name and the port number for which they operate. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1642866 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6250: [Java Client] removal of static defaulted username and password ↵Andrew MacBean2014-11-281-2/+2
| | | | | | | | | | | | from ConnectionSettings.java git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1642290 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6189 : [Java Common] fix stack overflow bug when frame is broken into ↵Robert Godfrey2014-10-272-0/+54
| | | | | | | | | | | | thousands of reads/writes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1634539 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6184: Add special thread factory to use with Executors which creates ↵Alex Rudyy2014-10-233-5/+147
| | | | | | | | | | | | Threads with empty inherited AccessControlContext git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633862 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6171 : make Connection.getChannels() return a data structure that can ↵Robert Godfrey2014-10-211-4/+4
| | | | | | | | | | | | be safely iterated over git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633344 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6125 : ignore headers and bodies when the channel is closedRobert Godfrey2014-10-202-2/+8
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633082 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6165 : [Java Broker] Allow the number of open connections to be limited ↵Robert Godfrey2014-10-172-16/+28
| | | | | | | | | | | | on a per port basis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632655 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6164 : Add synchronous publish capability to 0-8/9/9-1Robert Godfrey2014-10-1714-1/+383
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632585 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6125 : [Java Broker] AMQP 0-8/9/9-1 protocol handler refactoringRobert Godfrey2014-10-17465-50024/+7707
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632583 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6156 : tidy up and ensure that there is no chance of inadvertantly ↵Robert Godfrey2014-10-161-9/+9
| | | | | | | | | | | | adding an previously unenabled but supported protocol that is not SSLv3 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632376 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6156 : [Java] Prevent downgrade to SSLv3 on secure connectionsRobert Godfrey2014-10-165-18/+85
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632285 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-6152: [Java Client] Allow connection/session close time to be ↵Keith Wall2014-10-141-0/+12
| | | | | | | | | | | | | | | | | | | | overridden by system property. Change implementation so that the timeout is applied individually to each session close, the connection and the shutdown of the task pool. Also moved the shutdown of the task pool to a finally, so that it occurs even if one or more sessions fail to close. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1631810 13f79535-47bb-0310-9956-ffa450edef68
* | 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