summaryrefslogtreecommitdiff
path: root/java/client/src
Commit message (Collapse)AuthorAgeFilesLines
* Further example tidy upMarnie McCormack2006-11-284-39/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480088 13f79535-47bb-0310-9956-ffa450edef68
* QPID-71Martin Ritchie2006-11-281-10/+43
| | | | | | Update to handle bad characters after port value. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-71Martin Ritchie2006-11-282-34/+93
| | | | | | | Moved some tests from ConnectionURLTest to BrokerDetailsTest to better reflect the actual class being tested. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480031 13f79535-47bb-0310-9956-ffa450edef68
* Changes for JMS TCK TestingRajith Muditha Attapattu2006-11-274-3/+217
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@479640 13f79535-47bb-0310-9956-ffa450edef68
* Fixed the situation where a closed session could try and close itself more ↵Martin Ritchie2006-11-271-20/+28
| | | | | | than once. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@479560 13f79535-47bb-0310-9956-ffa450edef68
* Initial example class overhaul - still some way to go.Marnie McCormack2006-11-2420-365/+293
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478854 13f79535-47bb-0310-9956-ffa450edef68
* Added example.properties file and amended tests to use for ↵Marnie McCormack2006-11-242-10/+76
| | | | | | PropertiesFileInitialContextFactoryTest. Good example (I hope) for users. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478822 13f79535-47bb-0310-9956-ffa450edef68
* speed up testStephen Vinoski2006-11-231-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478444 13f79535-47bb-0310-9956-ffa450edef68
* Fix for Java TCK using createTopicConnection(username,password)Martin Ritchie2006-11-231-4/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478413 13f79535-47bb-0310-9956-ffa450edef68
* client/pom.xml - removed TransactedTest.java from exclude Listener.javaMartin Ritchie2006-11-221-1/+1
| | | | | | TransactedTest.java - fixed naming of setup to setUp git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478380 13f79535-47bb-0310-9956-ffa450edef68
* * use VMBrokerSetup test helper class where appropriateStephen Vinoski2006-11-223-14/+12
| | | | | | | * change notifyAll() to notify() in MultipleConnectionTest.java git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478343 13f79535-47bb-0310-9956-ffa450edef68
* [Text|Object]MessageTest.java - added tests that will fail as per QPID-122 ↵Martin Ritchie2006-11-222-19/+19
| | | | | | but commented them out! So mvn passes all tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478266 13f79535-47bb-0310-9956-ffa450edef68
* QPID-119Martin Ritchie2006-11-2217-34/+1008
| | | | | | | | | | | | | | | | | | | Creations: JMSMapMessageFactory.java JMSMapMessage.java MapMessageTest.java for both Object functionality and functionality being sent around. Modifications: AbstractJMSMessage.java - fixed propertyExists() Method not very elegant but when re-factored to use an AMQHeaderPropertyFieldTable it will be better. made setObjectProperty throw RuntimeException as to highlight that it implemented. removed duplicate code in checkPropertyName JMS[Bytes|Object]Message/Factory.java - swapped parameter headers around to match the order in AbstractJMSMessage.java for consistency. TestMessageHelper.java/MessageFactoryRegistry.java - added MapMessage type BytesMessageTest.java - Added tests for read and writeability of message. FieldTableMessageTest.java - Tidied imports [Text|Object]MessageTest.java - added tests that will fail as per QPID-122 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478253 13f79535-47bb-0310-9956-ffa450edef68
* broker/pom.xml - removed test scope from junit to remove warning in build log.Martin Ritchie2006-11-202-3/+3
| | | | | | | | | | | | | | TransportConnection.java/AMQQueue.java - change log level on a print statement from warn to info log4j.properties - updated threashold to be 'all' so we can set the logging level with amqj.logging.level client/pom.xml - fixed mvn test run output. It wasn't using our log4.properties file. systests/pom.xml - added log4j.properties configuration broker/pom.xml - added log4j.properties configuration common/pom.xml - skipped tests as there are none, and it caused the build to fail Also adjusted spaceing to be 4 space per tab (and no tabs) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@477214 13f79535-47bb-0310-9956-ffa450edef68
* convert tests to junit3Stephen Vinoski2006-11-1942-1639/+1070
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@476701 13f79535-47bb-0310-9956-ffa450edef68
* complete bringing initial maven work to trunkStephen Vinoski2006-11-1810-53/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@476431 13f79535-47bb-0310-9956-ffa450edef68
* directory moves required for maven mergeStephen Vinoski2006-11-18224-0/+89549
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@476414 13f79535-47bb-0310-9956-ffa450edef68
* QPID-92 Changes to bring MINA use up to MINA-Head (1.1.0) compatibility Martin Ritchie2006-11-153-31/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@475286 13f79535-47bb-0310-9956-ffa450edef68
* update Apache licenses to the current versionStephen Vinoski2006-11-10100-1250/+1610
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473568 13f79535-47bb-0310-9956-ffa450edef68
* Updated propertiesStephen Vinoski2006-11-094-426/+426
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473072 13f79535-47bb-0310-9956-ffa450edef68
* Set AutoCreateInVMBroker to false.Martin Ritchie2006-11-071-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472173 13f79535-47bb-0310-9956-ffa450edef68
* Added attempt to unbind if an error occurs.Martin Ritchie2006-11-071-41/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472108 13f79535-47bb-0310-9956-ffa450edef68
* Added extra logging around InVM failuresMartin Ritchie2006-11-071-2/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472081 13f79535-47bb-0310-9956-ffa450edef68
* TransactedTest.java - Added Logging around the setup.Martin Ritchie2006-11-071-0/+9
| | | | | | Added a sleep after VM Broker creation to allow broker to startup. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472073 13f79535-47bb-0310-9956-ffa450edef68
* Added extra logging around InVM failuresMartin Ritchie2006-11-071-4/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472069 13f79535-47bb-0310-9956-ffa450edef68
* Added AMQQueueSessionAdaptor and AMQTopicSessionAdaptor and amended ↵Marnie McCormack2006-11-033-2/+360
| | | | | | AMQConnection create methods to use these adaptor classes as per QPID-66. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470759 13f79535-47bb-0310-9956-ffa450edef68
* Changes to fix QueueReceiver ClassCastException being thrown by methods in ↵Marnie McCormack2006-11-033-8/+153
| | | | | | AMQSession which should return this interface. As per QPID-58. Added QueueReceiverAdaptor class now used in AMQSession. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470742 13f79535-47bb-0310-9956-ffa450edef68
* generateQueueName now removes colons as well as semi-colonsMarnie McCormack2006-11-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470380 13f79535-47bb-0310-9956-ffa450edef68
* Change to generateQueueName to remove non-conformant chars (/ and ;) as per ↵Marnie McCormack2006-11-021-15/+27
| | | | | | QPID-4. Other changes to allow test class inheritance for testing of this change. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470336 13f79535-47bb-0310-9956-ffa450edef68
* Committed development version by mistake.Martin Ritchie2006-10-311-11/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469436 13f79535-47bb-0310-9956-ffa450edef68
* Added additional logging to diagnose issues when unable to create an in VM ↵Martin Ritchie2006-10-311-3/+17
| | | | | | broker git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469430 13f79535-47bb-0310-9956-ffa450edef68
* Modified to maintain a reference to the lastWriteFuture. This is then used ↵Martin Ritchie2006-10-201-1/+16
| | | | | | when closing the ProtocolSession to join on so that we can be sure all data has been written to the broker. A time out of 2 minutes ensures that the client doesn't hang for ever if the broker fails. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466078 13f79535-47bb-0310-9956-ffa450edef68
* Resolution to QPID-23Martin Ritchie2006-10-205-0/+850
| | | | | | | | | | | Added Simple JNDI SPI Class that uses a PropertiesFile to create a ContextFactory for use with in JNDI. Added a unit test to test using properties file to get correct objects from JNDI lookup. Modifed AMQHeadersExchange.java to allow creation from a BindingURL. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466076 13f79535-47bb-0310-9956-ffa450edef68
* QPID-36 Added high/low water mark to DUPS_OK_ACKNOWLEDGE.Martin Ritchie2006-10-183-21/+86
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@465166 13f79535-47bb-0310-9956-ffa450edef68
* Implemented Client side high/low water mark prefetching for NO_ACK.Martin Ritchie2006-10-175-107/+197
| | | | | | 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
* Fixed incorrect package on AMQVMBrokerCreationException (did not match ↵Robert Greig2006-10-122-26/+12
| | | | | | 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-121-4/+50
| | | | | | 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-121-0/+6
| | | | | | | | | | | | | | | 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
* client/* - Only Create a Threshold Listener if if the acknowledgeMode is NO_ACKMartin Ritchie2006-10-032-6/+20
| | | | | | 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
* 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
* AMQProtocolSession.java - white space changesMartin Ritchie2006-09-274-21/+23
| | | | | | | | | | | | 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
* Combined.java - removed ApplicationRegistry ReferenceMartin Ritchie2006-09-252-2/+2
| | | | | | | | | | 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
* 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
* 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
* 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
* Import of qpid from etp:Rafael H. Schloming2006-09-1990-0/+12078
URL: https://etp.108.redhat.com/svn/etp/trunk/blaze Repository Root: https://etp.108.redhat.com/svn/etp Repository UUID: 06e15bec-b515-0410-bef0-cc27a458cf48 Revision: 608 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@447994 13f79535-47bb-0310-9956-ffa450edef68