summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-2857: close the input stream used when loading properties files for ↵Robert Gemmell2010-09-291-1/+10
| | | | | | JNDI lookups git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002675 13f79535-47bb-0310-9956-ffa450edef68
* Remove defunct old scriptRobert Gemmell2010-09-291-22/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002579 13f79535-47bb-0310-9956-ffa450edef68
* Added a failover test case that uses durable subscriptions.Rajith Muditha Attapattu2010-09-291-1/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002448 13f79535-47bb-0310-9956-ffa450edef68
* Improved the error handling and modified the parameters to pass in an ↵Rajith Muditha Attapattu2010-09-291-30/+47
| | | | | | address string when invoking a receiver or a sender. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002447 13f79535-47bb-0310-9956-ffa450edef68
* Modified the Sender and Receiver to work with the new addressing strings.Rajith Muditha Attapattu2010-09-293-130/+103
| | | | | | | | | | | You could now invoke the sender or receiver by passing an addressing string as a program argument. The sender and receiver could now be utilised more easily as a building block for scripting test cases. Modified the TestLauncher to also work with addressing strings. The Receiver was also modified to work as a durable subscriber if specified via a JVM arg. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002446 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2834: Implement subscriptions (SUB) operational logging on 0-10 Andrew Donald Kennedy2010-09-281-1/+6
| | | | | | | | | Add correct LogSubject and helper method to set upo LogActor Committed patch from SorinS <ssuciu@gmsail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002063 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2857: Remove the FindBugs binarys from the repository and add ↵Robert Gemmell2010-09-2733-1479/+37
| | | | | | | | | instructions on how to download and use it. This is necessary because whilst its deps are fine, FindBugs itself is LGPL licenced. It also doesnt hurt to remove 15MB of optional binaries from the release. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001951 13f79535-47bb-0310-9956-ffa450edef68
* add missing Apache licenceRobert Gemmell2010-09-271-1/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001950 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2834: Implement subscriptions (SUB) operational logging on 0-10Andrew Donald Kennedy2010-09-272-3/+15
| | | | | | | Committing patch from SorinS <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001804 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2801: Implement LogSubject Interface in 0-10 ↵Andrew Donald Kennedy2010-09-273-18/+135
| | | | | | | | | Subscription/ServerConnection/ServerSession Objects Committed patch from Sorins <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001779 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2872: make the broker indicate a heartbeat max of 0sec to cause the ↵Robert Gemmell2010-09-262-1/+13
| | | | | | | | | client disable heartbeating, as it otherwise enables the connection idle timeout by default and the broker cant generate them. Needed until QPID-2796 is undertaken to implement broker support for generating heartbeats. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001544 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2877: remove erroneous space from labelRobert Gemmell2010-09-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001543 13f79535-47bb-0310-9956-ffa450edef68
* add some missing Apache licence headers to files in the Java treeRobert Gemmell2010-09-266-0/+101
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001542 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2884: Pass the method arguments on Subscription_0_10 upon creationAndrew Donald Kennedy2010-09-263-6/+14
| | | | | | Patch from SorinS <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001537 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2833: Add a Generic Actor for 0-10 LoggingAndrew Donald Kennedy2010-09-262-0/+88
| | | | | | Patch from SorinS <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2879: The 0-10 Java Client is sending null arguments on messageSubscribeAndrew Donald Kennedy2010-09-231-1/+2
| | | | | | | | | Converts the argument Map to a FieldTable and add as an argument to messageSubscribe Patch from <sorins@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1000407 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2882Rajith Muditha Attapattu2010-09-221-5/+13
| | | | | | | Modified the address helper class to check for the durable property in the node props for the target node and link props for the subscription queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999718 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2881Rajith Muditha Attapattu2010-09-222-6/+8
| | | | | | | | | | | | | | | | | | | | | | When a topic based destination is used in creating a consumer, the code looks to see if the address is already resolved. If it is then it could mean two things. 1. A consumer is being recreated after failover. 2. This destination was used previously to create a consumer or a producer. In this case we assume it was used for a consumer. For case #1, we need to preserve the queue name. The reason being if it was either a durable subscription or if it was a named queue (name property specified in link) then we need to maintain the same name. For case #2 we need to ensure that each consumer gets it's own queue,hence we clone the destination object and the queue name is set to null so name is auto-generated. I have removed the incorrect logic (in BasicMessageConsumer_0_10) of looking at the durable property as one factor in deciding if it's case #1. A durable subscription does use a named queue, therefore it is not nessacery to look at the durable property in order to identify it as case #1. I have made modifications to createDurableTopic method in AMQTopic to set the queue name in the link properties. The above changes enable a user to create more than one consumer (each with it's own unique queue) when using the same destination created off an addressing string that has durable set to true. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999704 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2786Rajith Muditha Attapattu2010-09-214-11/+52
| | | | | | | | Added logic to the AMQTopic class to handle the creation of the durable subscription topics using an addressing string. Modified the subscription queue creation to handle durable subscriptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999196 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2861Rajith Muditha Attapattu2010-09-211-1/+1
| | | | | | | Adjusted the log message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999189 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2876Rajith Muditha Attapattu2010-09-211-2/+2
| | | | | | | Only message transfers are stored in the internal command array. This array is used for replaying after failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2858: Implement FilterManager for 0-10 subscriptionsAndrew Donald Kennedy2010-09-202-14/+13
| | | | | | | | | Implementation of review changes. Patch from <sorins@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998891 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2857: address a further 60 or so issues identified by running FindBugs ↵Robert Gemmell2010-09-1935-217/+273
| | | | | | across the Java codebase git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998700 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2857: Increase max memory for the findbugs task to 512MB to prevent OOMERobert Gemmell2010-09-191-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998699 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused/non-existent jar entry from startup script classpathRobert Gemmell2010-09-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998697 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2781: move broker process name tagging default from the common qpid-run ↵Robert Gemmell2010-09-192-6/+6
| | | | | | used by multiple scripts, into the qpid-server script it is associated with git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998696 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2619: move echo of the broker PID from common qpid-run script used by ↵Robert Gemmell2010-09-192-1/+13
| | | | | | multiple scripts into qpid-server script. Change default pid filename to indicate association with qpid-server. Make filename configurable to allow choosing name e.g. for capturing pid of multiple servers" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998695 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2869: prevent entering the source queue as destinationRobert Gemmell2010-09-181-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998548 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2868: guard against non-existent destinations when moving/copyingRobert Gemmell2010-09-181-3/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998547 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2867: add support to the JMX management console for removing bindings ↵Robert Gemmell2010-09-183-13/+101
| | | | | | from direct/topic exchanges git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998546 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2870: move the authorisation check outside the AtomicBoolean wrapped ↵Robert Gemmell2010-09-181-5/+6
| | | | | | queue deletion process to prevent an unauthorised attempt from barring all future deletion attempts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998545 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2695: use exchangeName variable instead of exchange variable when ↵Robert Gemmell2010-09-181-7/+8
| | | | | | logging during binding recovery to guard against NPEs, and check for exchange presence to prevent the BindingFactory incorrectly binding to the default exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998544 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2704: simplify the implementation of SQEL scavenge() ability and add test.Robert Gemmell2010-09-182-51/+158
| | | | | | | Incorporates changes for QPID-2597 from 0.5.x-dev branch revisions 943240, 943534, 943576, and 943845. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998543 13f79535-47bb-0310-9956-ffa450edef68
* Remove old commented out conflict marker, erroneous println debugging ↵Robert Gemmell2010-09-183-12/+6
| | | | | | statement. Correct exception message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998542 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2857 : Address issues found by running FindBugs against the Java codebaseRobert Godfrey2010-09-1719-52/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2858: Implement FilterManager for 0-10 subscriptionsAndrew Donald Kennedy2010-09-171-1/+5
| | | | | | | | | Only the selector property should be copied to the FilterManager FieldTable. Patch from <sorins@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998154 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2857 : Added findbugs task to the build to automate the procedure for ↵Robert Godfrey2010-09-1732-0/+1503
| | | | | | finding potential issues git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998152 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2858: Implement FilterManager for 0-10 subscriptionsAndrew Donald Kennedy2010-09-171-1/+18
| | | | | | | Applying patch from <sorins@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998126 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2832: Collate all the LogSubject formatting strings in a static classAndrew Donald Kennedy2010-09-178-124/+144
| | | | | | | Applying patch from <sorins@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@998125 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2861Rajith Muditha Attapattu2010-09-171-1/+11
| | | | | | | | Added a simple null check to eliminate acting on a result that is no longer valid. I am also adding a log message at "WARN" level if we receive a result for a command that is no longer in our map. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@997965 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2749: add -XX:+ExplicitGCInvokesConcurrent arg to ensure that the GCs ↵Robert Gemmell2010-09-142-4/+2
| | | | | | prompted by the RMI runtime dont stop the world git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@996855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2857 : Address issues found by running FindBugs against the Java codebaseRobert Godfrey2010-09-12159-1285/+1803
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@996393 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2856 : Attempting deltion of a default exchange should cause 530 ↵Robert Godfrey2010-09-121-1/+21
| | | | | | not-allowed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@996308 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2855 : Broker Transport should not block on awaiting session close ↵Robert Godfrey2010-09-123-16/+47
| | | | | | confirmation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@996303 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2854 : Correct implemention of 0-10 Queue Exclusivity in the Java BrokerRobert Godfrey2010-09-121-43/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@996300 13f79535-47bb-0310-9956-ffa450edef68
* Add the BURL prefix to denote the use of old style binding urls in the prop fileRajith Muditha Attapattu2010-09-091-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@995575 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2606: remove erroneous logging, missed when applying the half megabyte ↵Robert Gemmell2010-09-091-1/+0
| | | | | | patch :) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@995430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2840: update to fix issue with InVM tests passing in isolation but ↵Robert Gemmell2010-09-091-3/+3
| | | | | | failing as part of the suite git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@995352 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2840: have the tests set a message prefix to facilitate scraping ↵Robert Gemmell2010-09-083-1/+14
| | | | | | messages from the test output git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@995103 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2840: make the status logging message prefix configurable but empty by ↵Robert Gemmell2010-09-081-1/+1
| | | | | | | | | default Applied patch from Sorin Suciu <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@995102 13f79535-47bb-0310-9956-ffa450edef68