summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* Implemented Client side high/low water mark prefetching for NO_ACK.Martin Ritchie2006-10-176-108/+198
| | | | | | Use of single prefetch should be unaffected. Setting the high and low to be the same. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464950 13f79535-47bb-0310-9956-ffa450edef68
* AMQQueueMBean - management notifications will be sent to the listening ↵Bhupendra Bhusman Bhardwaj2006-10-172-22/+85
| | | | | | clients if the queue size increases the threshold value or a message with size higher than threshold value is received. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464900 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to transaction handling.Gordon Sim2006-10-1720-104/+1075
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This line, and those below, will be ignored-- M java/broker/test/src/org/apache/qpid/server/UnitTests.java M java/broker/test/src/org/apache/qpid/server/queue/DeliveryManagerTest.java A java/broker/test/src/org/apache/qpid/server/txn AM java/broker/test/src/org/apache/qpid/server/txn/UnitTests.java AM java/broker/test/src/org/apache/qpid/server/txn/TxnBufferTest.java M java/broker/test/src/org/apache/qpid/server/util/UnitTests.java AM java/broker/test/src/org/apache/qpid/server/util/OrderedMapHelperTest.java M java/broker/src/org/apache/qpid/server/queue/SubscriptionImpl.java M java/broker/src/org/apache/qpid/server/queue/DeliveryManager.java AM java/broker/src/org/apache/qpid/server/queue/FailedDequeueException.java M java/broker/src/org/apache/qpid/server/queue/AMQMessage.java M java/broker/src/org/apache/qpid/server/queue/AMQQueue.java M java/broker/src/org/apache/qpid/server/queue/Subscription.java M java/broker/src/org/apache/qpid/server/queue/NoConsumersException.java M java/broker/src/org/apache/qpid/server/AMQChannel.java M java/broker/src/org/apache/qpid/server/txn/TxnBuffer.java M java/broker/src/org/apache/qpid/server/txn/TxnOp.java AM java/broker/src/org/apache/qpid/server/util/OrderedMapHelper.java M java/broker/src/org/apache/qpid/server/handler/TxCommitHandler.java AM java/client/test/src/org/apache/qpid/transacted/UnitTests.java M java/client/test/src/org/apache/qpid/client/AllClientUnitTests.java git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464867 13f79535-47bb-0310-9956-ffa450edef68
* Added new method from Mina 1.0Martin Ritchie2006-10-131-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463674 13f79535-47bb-0310-9956-ffa450edef68
* Added Sun FSContext to client-test libMartin Ritchie2006-10-138-32/+100
| | | | | | Updated referenceabletest files to use the temporary directory reported by the System.properties. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463671 13f79535-47bb-0310-9956-ffa450edef68
* Now defaults to use our own thread pool which offers much better throughput ↵Robert Greig2006-10-131-1/+1
| | | | | | than the MINA one. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463662 13f79535-47bb-0310-9956-ffa450edef68
* Moved AMQVMBrokerCreationException into correct package.Robert Greig2006-10-124-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463410 13f79535-47bb-0310-9956-ffa450edef68
* QPID-18. Removed unused experimental code that had direct dependencies on ↵Robert Greig2006-10-1225-3423/+15
| | | | | | MINA-0.9.5 and upgraded to MINA-1.1.0 snapshot. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463403 13f79535-47bb-0310-9956-ffa450edef68
* Fixed incorrect package on AMQVMBrokerCreationException (did not match ↵Robert Greig2006-10-1210-52/+27
| | | | | | physical location). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463397 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2. JMSBytesMessage.readXXX methods now test the appropriate number of ↵Robert Greig2006-10-122-4/+254
| | | | | | bytes are available in the message and throw the appropriate exception if not. Unit test updated to check behaviour of readXXX methods. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463363 13f79535-47bb-0310-9956-ffa450edef68
* Fixed ack.RecoverTest and ack.DisconnectAndRedeliverTest. These were failing ↵Gordon Sim2006-10-123-7/+21
| | | | | | | | | | | | | | | due to a race condition where the consumers queue was not bound by the time the publisher sent messages. This is a result of the use of nowait=true for the declare/bind/consume cycle for a BasicMessageConsumer. To work around this in tests like these that have two connections, one consuming & one publishing, I added a declareExchangeSynch() method to AMQSession which allows a thread to block until the session it invokes that method on has processed all the commands up to that point. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463309 13f79535-47bb-0310-9956-ffa450edef68
* Added a little extra debug to the toString()Martin Ritchie2006-10-111-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@462840 13f79535-47bb-0310-9956-ffa450edef68
* Added extra debug output when failover fails.Martin Ritchie2006-10-111-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@462820 13f79535-47bb-0310-9956-ffa450edef68
* Amended log path to use QPID_WORK as per QPID-30Marnie McCormack2006-10-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@454782 13f79535-47bb-0310-9956-ffa450edef68
* Amended work dir to use $QPID_WORK, though slightly out of context without ↵Marnie McCormack2006-10-101-1/+1
| | | | | | bdb config refs as per QPID-30 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@454738 13f79535-47bb-0310-9956-ffa450edef68
* Added $QPID_WORK variable to allow configuration of writable dirs after ↵Marnie McCormack2006-10-101-1/+7
| | | | | | install as per QPID-30 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@454736 13f79535-47bb-0310-9956-ffa450edef68
* QPID-16 Removed unnecessary requeue operations.Steven Shaw2006-10-062-54/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@453539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-15 JUnit3 compatibility suite() method now uses correct Test class.Steven Shaw2006-10-062-11/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@453537 13f79535-47bb-0310-9956-ffa450edef68
* Changed flow control information out put to be debug level as it is output a ↵Martin Ritchie2006-10-051-2/+2
| | | | | | lot when flow control starts. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@453196 13f79535-47bb-0310-9956-ffa450edef68
* Changed flow control information out put to be debug level as it is output a ↵Martin Ritchie2006-10-051-1/+1
| | | | | | lot when flow control starts. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@453193 13f79535-47bb-0310-9956-ffa450edef68
* Changed TxnBuffer log data to debug level.Martin Ritchie2006-10-031-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452546 13f79535-47bb-0310-9956-ffa450edef68
* client/* - Only Create a Threshold Listener if if the acknowledgeMode is NO_ACKMartin Ritchie2006-10-034-176/+204
| | | | | | common/*/framing/* - White space changes from tabs to 4 spaces. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452529 13f79535-47bb-0310-9956-ffa450edef68
* Added lines to automatically add amqj.logging.level to "info" on the command ↵Martin Ritchie2006-10-031-1/+5
| | | | | | | | | | line. As without this the level is automatically set to debug but the console only displays info level and above messages. This results is a lot of wasted cycles. If -Damqj.logging.level is present on the command line then that value will override the default of "info" Related to QPID-12 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452430 13f79535-47bb-0310-9956-ffa450edef68
* I somehow missed an import.Martin Ritchie2006-10-031-0/+1
| | | | | | | | | | | QPID-10 #QPID-10 JIRA QPID-10 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452334 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-10. Problem was a memory leak of sorts on the client. A ↵Martin Ritchie2006-10-031-14/+29
| | | | | | temporary frame listener was never removed. Hence causing longer add times and lots of "live" objects. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452326 13f79535-47bb-0310-9956-ffa450edef68
* Optimised Transaction handling.Martin Ritchie2006-10-033-9/+39
| | | | | | When using a a transaction don't start a store transaction on a commit UNLESS a persistent message has been sent. As non-persistent messages are not stored. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452323 13f79535-47bb-0310-9956-ffa450edef68
* Added vm://:1 and localhost as JNDI values setup by the IBM Scripts.Martin Ritchie2006-10-034-30/+53
| | | | | | | Changed exception handling in JNDIBindConnectionFactory.java Added lookup(String) method to Lookup.java to allow use in other tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452321 13f79535-47bb-0310-9956-ffa450edef68
* Moved timestamp encoding and decoding to class EncodingUtils.Kim van der Riet2006-10-022-5/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452163 13f79535-47bb-0310-9956-ffa450edef68
* File incorrectly transferred from etp.108.redhat.com at time of initial port.Kim van der Riet2006-10-021-40/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452140 13f79535-47bb-0310-9956-ffa450edef68
* Changes for JMX layer-Martin Ritchie2006-10-0222-265/+1081
| | | | | | MBeans are decorated with descriptions using annotations for attributes, operations and operation parameters. Introspection added for management interface. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@451932 13f79535-47bb-0310-9956-ffa450edef68
* Moved delivery tag retrieval and addition to Unack'd list back to ↵Martin Ritchie2006-09-272-20/+16
| | | | | | SubscriptionImpl as the synchronized block must include writing the frame to the wire. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450401 13f79535-47bb-0310-9956-ffa450edef68
* Changed IBM Unix scripts to have the correct path /tmp not c:/tempMartin Ritchie2006-09-275-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450386 13f79535-47bb-0310-9956-ffa450edef68
* AMQProtocolSession.java - white space changesMartin Ritchie2006-09-278-73/+113
| | | | | | | | | | | | BasicMessageProducer.java - white space changes BasicMessageConsumer.java - white space changes AMQSession.java - added a comment MemoryMessageStore.java - white space changes SubscriptionImpl.java AMQChannel.java - Removed race condition where two messages could get the same delivery tag and when using acks where messages can be added to the UnackMap out of sequence, Causing unknown message to ack exceptions. DestNameExchange.java - white space/style changes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450384 13f79535-47bb-0310-9956-ffa450edef68
* Changed default instance id to 1 to make getInstance simpler.Martin Ritchie2006-09-262-14/+19
| | | | | | Added ability to specify default ApplicationRegistry git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449942 13f79535-47bb-0310-9956-ffa450edef68
* Fixed class cast problem and ensured that the correct application registry ↵Martin Ritchie2006-09-261-7/+14
| | | | | | was being retrieved in each of the tests. The getInstance() needs to know which instance is being used. In these tests (vm://:1) that instance 1. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449934 13f79535-47bb-0310-9956-ffa450edef68
* Fixed old BLAZE_LIB RefernceMartin Ritchie2006-09-252-2/+3
| | | | | | Updated Setup to create a VMConnectionFactory git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449720 13f79535-47bb-0310-9956-ffa450edef68
* Combined.java - removed ApplicationRegistry ReferenceMartin Ritchie2006-09-256-20/+38
| | | | | | | | | | VmPipeTransportConnection.java - moved in to client package. TransportConnection.java - updated imports JNDIBindConnectionFactory.java - forced inclusion of url. Updated JNDI Setup git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449675 13f79535-47bb-0310-9956-ffa450edef68
* Removed VmOrRemoteTestCase.java and the testutil package.Martin Ritchie2006-09-2522-283/+509
| | | | | | | Updated all other tests to have correct connection URLs to allow inVM Broker usage. Added FailoverBrokerTester.java that starts up and kills VM Brokers. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449646 13f79535-47bb-0310-9956-ffa450edef68
* AMQPFastProtocolHandler.java - Added (Integer appRegId) constructor to allow ↵Martin Ritchie2006-09-2511-25/+229
| | | | | | | | | | | | | the AMQPFastProtocolHandler to request the ApplicationRegistry instance. ApplicationRegistry.java - Modified to allow multiple ARs to exist each indexed by an integer id. Default AR of 0 always exists. NullApplicationRegistry.java - Copied from Test cases but modified to have a simple MemoryMessageStore. MemoryMessageStore.java - Added a configure() that uses the class defaults. NullAuthenticationManager.java - Moved from Test Renamed NullApplicationRegistry.java to TestApplicationRegistry.java for the Test cases. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449643 13f79535-47bb-0310-9956-ffa450edef68
* AMQBrokerDetails.java - Changed default SSL value to use a static constantMartin Ritchie2006-09-2511-48/+454
| | | | | | | | | | | | | | AMQConnection.java - Fixed initial constructor connection, exception handling to check exception or cause for ConnectionExceptions and UnresolvedAddresses. AMQProtocolHandler.java - removed //todo as auth failure handling is now done. Added new transport exceptions AMQNoTransportForProtocolException.java and AMQTransportConnectionException.java as part of the TransportConnection changes. TransportConnection.java - Major changes to use the transport specified in the BrokerDetails object to dictate the type of Transport used for the connection. Currently only tcp and vm are supported. VmPipeTransportConnection.java - moved from test classes. Created vmbroker package for VMBrokerCreateException. Allows client to distinguish between a connection failure and a problem starting the broker to connect to it. BrokerDetails.java - Added default transport and set the current transport string values, 'tcp' and 'vm' FailoverMethod.java - Added singlebroker for completeness. FailoverPolicy.java - Allowed method type singlebroker to be created. Changed else if to else { if git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449640 13f79535-47bb-0310-9956-ffa450edef68
* Added Broker Details to exceptionMartin Ritchie2006-09-251-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449636 13f79535-47bb-0310-9956-ffa450edef68
* Updated Performance tests to use "." rather than "/" i.e. ↵Martin Ritchie2006-09-2216-29/+34
| | | | | | "amq.ConnectionFactory" git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448983 13f79535-47bb-0310-9956-ffa450edef68
* Removed logging outputMartin Ritchie2006-09-203-27/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448242 13f79535-47bb-0310-9956-ffa450edef68
* Windows seems to ignore invalid file URLs should be file:// + path not ↵Martin Ritchie2006-09-203-6/+6
| | | | | | | | | | file:/ + path where path = c:/temp/ or /tmp note that under linux the java.io.temp property doesn't have a trailing / git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448236 13f79535-47bb-0310-9956-ffa450edef68
* Added / to default JNDI name as under linux java.io.temp is '/tmp' but under ↵Martin Ritchie2006-09-203-5/+11
| | | | | | | | windows it is '.../Temp/' Queue and Topic fixed null pointer condition where _connection is not established. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448234 13f79535-47bb-0310-9956-ffa450edef68
* Changed BLAZE_HOME reference to QPID_HOME.Martin Ritchie2006-09-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448224 13f79535-47bb-0310-9956-ffa450edef68
* Updated default location of JNDI FS context to be in java.io.tempMartin Ritchie2006-09-203-11/+111
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448219 13f79535-47bb-0310-9956-ffa450edef68
* Closeable's checkNotClosed now throws a javax.jms.IllegalStateException ↵Steven Shaw2006-09-206-17/+16
| | | | | | rather than a java.lang.IllegalStateException. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448211 13f79535-47bb-0310-9956-ffa450edef68
* Corrected some text from Blaze to QpidCarl C. Trieloff2006-09-201-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448195 13f79535-47bb-0310-9956-ffa450edef68
* No longer throw commons-lang's NotImplementedException. See ↵Steven Shaw2006-09-202-6/+34
| | | | | | http://issues.apache.org/jira/browse/QPID-1 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448142 13f79535-47bb-0310-9956-ffa450edef68