| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
utilise the same functionality.
To enable generation for your plugin just add :
<target name="precompile" depends="gen_logging"/>
to your build.xml
Logging is now defined in a X_logmessage.properties file. Where X is used to make the XMessages.java class.
Also updated all existing usages to remove the 3 digit prefix that wasn't adding any info.
Updated ConfigStore and Transaction Log to use named properties rather than numeric values.
If we are going to continue with <3 alpha>-<4 numeric> ids for messages then we'll need to have some registry to prevent
clases. Perhaps it is simpler to relax this and require a plugin creator to provide a unique identifier for their messages.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954432 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
for metadata, content, and queue entries.
Additionally, make remaining uses of auto-commit enabled connections more visible and remove the erroneous explicit commits on these.
Close completed Statements after use. Add/correct various related debug log statements.
Stop adding vhost name to all environment paths, now just the default value.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952930 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
informative about the unexpected message it recieves when it fails
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952694 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
This is related to QPID-2496
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952451 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
receive() methods, and another timeout for the while loop to prevent the test from hanging in case of an error.
For testOderingWithAsyncConsumer I increased the timeout to 8 secs as there have been occasional failures with the test not being completed inside 5 secs.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952430 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
log4j.properties and so need not be removed completely since they wont be automatically applied by log4j if found on the classpath like the others will
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951419 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
process the configuration.
As we don't automatically create the AppRegistry any more we need to explicitly create an InVM broker
for these two tests. It may be necessary to move the IBBC creation from AbstractTestLogging to QBTC for
external profile runs. However, testing to date has only shown these two tests failing due to missing AR.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951170 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951167 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950740 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
removing the exclusion features now handled by the new QpidTestCase
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950730 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
delete QpidBrokerTestCase such that the old QpidTestCase as at r950614 can be copied into its place with updates to retain history.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950727 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
are not marked as so.
They only work InVM but require a client. These should be either updated to be broker tests and not need the client
or updated to not relay on the InVM transport.
Also updated the code in old_test to be in line with these changes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950640 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Changed all existing test cases that extened QpidTestCase to QpidBrokerTestCase.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950617 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
Renamed the old QpidTestCase to QpidBrokerTestCase
Created a new class QpidTestCase and moved the test exclusion logic to this class.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950615 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Applied patch from Andrew Kennedy <andrew.international@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949784 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Applied patch from Andrew Kennedy <andrew.international@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949781 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
the same configuration
Applied patch from Andrew Kennedy <andrew.international@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949779 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
syncchronous op before killing the broker to ensure all the additional messages reach the broker before it is killed. Update message numbering to be based from 1 to aid log clarity.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949735 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
to 100
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948038 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
condition was
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946670 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
and add close method in ApplicationRegistry to safely perform the close.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@946667 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
However a few issues needs to be ironed out - see the JIRA for these issues.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945945 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Verified that it works against the C++ broker and the Java broker (both 0-8 and 0-10 codepaths).
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945789 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
QPID-2559.
Since (from rev 942293) credit is not sent if the dispatcher is null, for consumerB, credit is not sent until it invokes receive().
However it only tries to receive after consumerA has received 2 messages. Since AUTO-ACK is used, completions are sent immediately which results in A receiving credit, hence receiving the next 2 messages as well.
I changed the test to create consumer A & B using the same session. This ensures that both consumers gets a chance to request credit before they consume any messages. This modification does not alter the intent of the original test case.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945444 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Removing all log4j xml and property files from the code base, except for the ones in test-profile folder and broker/etc folder.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943339 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942106 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
requried and to correctly configure configuration
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942105 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
of a failed InVM broker startup
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942104 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
0-8/0-10, 0-10 does not appear to provide a client ID so maintaining use of Principal Name. This means migration between 0-8 and 0-10 will not behave as expected.
Correct erroneous usages of session.getPrincipal when comparing with queue.getOwner is requried. Queue owners are the client id not the authenticated user.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942102 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
the broker.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941934 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
to lack of proper test.
I have added a test case to AMQConnectionTest called testHeartBeat.
This test fails once in a while even when I have an external script to clean the broker instance.
It seems once it's wedged with kill -STOP, it somestimes doesn't get cleaned up properly with kill -9.
Despite the occasional failure, I think it's worth to have this test as a lot of our users rely on heartbeat functionality.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941553 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
The c++ broker does not make any guarantees about how it distributes the messages among consumers on a single queue.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@940674 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Added two test cases to verify ordering while using recover with sync and async consumer.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939410 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
build.xml that will correctly locate and add all subprojects (those with a build.xml file) to the modules.plugin variable. This will correctly allow new plugins to be automatically picked up without any further build system changes.
To further simplify the build process and make better use of the module.depends option the build.deps file has been updated to contain only the libraries the module actually depends on. The dependant libraries due to a module.depends are now automatically pulled in by the build system. A further enhancement would be to do transitive dependencies, which would also allow dependencies to be built when in a sub module directory.
e.g. client depends on common, but client.libs should not contain mina, common contains mina and so those libraries are pulled in via the fact that client's module.depends contains common.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938059 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936575 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Enable the excluded PFC JMX test in the InVM profile now that InVM JMX is available.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935929 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
workaround the alternating pass-fail issue encountered when running back to back tests using JMX with the InVM broker. Enable the ModelTest.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935928 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
possible to create autoDelete queues with the JMX interface, and owner should not be expected to be null based on autodelete status.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935927 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
The changes include support the new addressing structure and most items on the list specified in the JIRA.
The following is not included in the commit
1. Add subject as filter in JMS - for exchanges use it as binding key and for queues use it as a selector - this needs to be thought through. Besides JMS already provides a way to handle this.
2. Implementation of DELETE option. Further testing needs to be done to figure out the impact.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934563 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
toString sent messages, the test now use getJMSMessageID() rather than toString().
Merged from 0.5.x-dev rev 931508
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933289 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Merged from 0.5.x-dev rev 920765
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933288 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
gathed by the PingAsyncTestPerf for each batch.
Merged from 0.5.x-dev r 917464
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933283 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
AcknowledgeAfterFailoverOnMessageTest, The issues were the same as AckAfterFailoverTest. So used same prepBroker approach. Test also need timeout increased as broke restarts took to long for a message to be sent/received. Finally the last change was thatthe queue needed to be re-declared so that the final queue depth check would have a queue to query.
Merged from 0.5.x-dev @ r907004
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933281 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932634 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Added test cases as well.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932467 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929979 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
virtualhosts.xml file is specified load it as its own Configuration object to ensure the property heirarchy is not lost. Enforce that virtualhost config can only be specified in either the main config.xml file or the virtualhosts.xml file, but not both. Allow the virtualhosts.xml file to be a combined configuration and use to provide override abilities for testing.
Applied patch from Andrew Kennedy <andrew.international@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929136 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
around the change and unsubscription of durable subscriptions
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929095 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926829 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Added QpidClientX509KeyManager (a customer KeyManager) which will return the ssl_client_alias specified in the Connection URL.
Note the alias here is actually the certificate name and not the alias used in the keytool.
I also fixed a minor bug in SSLUtil to retrive the identitiy of the local certificate instead of the peer's certificate.
Added a test for the above JIRA.
Added AMQTestConnection_0_10 which allows the SecurityLayer to be exposed for testing purposes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926380 13f79535-47bb-0310-9956-ffa450edef68
|