| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
setObjectProperty in Field Table and via JMS Properties
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966680 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
You could now susbcribe to any queue using browse mode and use a regular MessageConsumer (even with a MessageListener) instead of having to use a Queue Browser.
Ex. 'my-ring-queue; {mode: browse}'
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966284 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
As the initial step, all subscription queues are marked exclusive and auto-delete.
When support for reliability is added, the reliability mode will be taken into account.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@965713 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964998 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The session.createQueue and session.createTopic methods will behave as
follows.
session.createQueue
===================
1. If just a queue name is passed,
1.1 If the destination syntax is BURL, a queue
by that name will be created and bound to the amq.direct exchange using
the queue name as the binding key. If published using this destination,
then the message will be sent to amq.direct with routing key set to the
queue name.
1.2 If destination syntax is ADDR, a queue is created by that name.
If published using this exchange then the message will be sent to the
defualt exchange (nameless exchange) with routing key set to the
queue name.
2. If an address string or binding url is passed, it will be passed
accordingly.
session.createTopic
===================
1. If just a topic name is passed,
1.1 If destination syntax is ADDR, a temp queue is created and bound to
the amq.topic with the topic name as binding key. If published using
this destination, then the message will be sent to amq.topic with the
topic name set to routing key. The topic name will also be set as
"qpid.subject" in the outgoing message.
1.2 Same as above except there will be no subject set.
2. If an address string or binding url is passed, it will be passed
accordingly.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964984 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961866 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
The producer now checks for the presense of qpid.subject in the header and uses it as the routing-key if sending to an exchange.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961862 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960667 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
capacities in getLink()
Also fixed an error when parsing the qpid queue policy type.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958102 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Modified the PropertiesFileInitialContextFactory to allow the new addressing strings to be specified in the jndi properties file.
Downgraded some "info" log messages in AMQDestination to "debug".
Added a test cases to cover the issue reported in the JIRA.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957942 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
|
| |
|
|
|
|
| |
registered.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951165 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950740 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
addition to "capacity:10" where both source and target is set to 10.
2. If the exchange type if direct and no subject is set, then the routing_key is set to "" instead of throwing an exception.
3. Added a fix to infer the exchange type if specified in the x-declares section.
4. The link can now specify an optional 'name' parameter which will be used as the queue name if present.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949083 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Removed commons collections from the build deps.
Added the ReferenceMap and supported classes under a subpackage in qpid.
These classes were copied from the Commons Collections release tag 3_2.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949076 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
|
| |
|
|
|
|
|
|
|
|
| |
code path relies on that for failover.
Currently due to the above commit all failover related tests are failing.
However we will try to address the issue mentioned in QPID-2586.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944457 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@943200 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942293 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942098 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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@940672 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
A test case will be checked in shortly.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939416 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939405 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938732 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938728 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
1. Added comments to explain how the address is handled
2. Now the subscription queue is created only when the destination is used by a consumer.
3. Removed unnessacery logic in createSubscriptionQueue method
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938727 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Commiting patch submitted by Emmanuel Bourg.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936568 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Changed the default destination syntax to addressing.
Added qpid.dest_syntax=BURL to the test profiles to ensure all existing tests work.
At some point next week the existing binding URL based entries will be prefixed with "BURL:" and the above system property will be removed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934997 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Fixed a minor bug when processing link props.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934582 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
|
| |
|
|
|
|
|
| |
This allows a user to pass in an address string when creating a queue or topic using the JMS 1.0 methods (session.createQueue(String s) and session.createTopic(String s) )
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934559 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934236 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
|
| |
|
|
|
|
|
| |
Added test cases as well.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932467 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
|
| |
|
|
|
|
|
|
|
|
| |
1. You could specify ssl_verify_hostname as a Broker argument in the Connection URL to explicitly enable SSL hostname verification.
2. You could specify a per connection trust store and key store to allow each connection to use it's own client certificate.
trust_store,trust_store_passowrd, key_store, key_store_password could be specified as Broker arguments in the Connection URL.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@925289 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
Modified the XAResourceImpl to maintain the timeout value and set it to any XID in the start method if the time value > 0
Also the XID nulled after commit, rollback and forget, to prevent a timeout being set on an invalid xid.
The setTimeout method will only set the timeout if xid is not null and if the timeout value is different from the previous value.
Modified the test cases in FaulTest to adhere to the correct behaviour and also added a new test case to cover the issue mentioned in the JIRA.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@919666 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
I also changed the exception handling code to use initCause() instead of setLinkedException as the latter does not show the 'cause' properly.
AMQSession_0_10.java was modified to include the 'name' in the error message thrown if the address does not resolve to an exchange or a queue.
AddressHelper.java - added a null check.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918842 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
I modified the code to keep a map consisting of exchange_type and exchange_name, so it can be properly used when needed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911251 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911249 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909641 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Added a log message in IoTransport to denote successfull creation of SSL Sender and Receiver
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909150 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
cleanly apply to trunk due to IO changes.
QPID-1084 : Committed change to prevent flow control threads being created/sent if the channel/session is closed or the state has acutally changed in the mean time.
Wrapped .debug statements as per review feedback
Merged and adapted these changes from 0.5.x r905592,905596,905605
The AMQMinaProtocolSession Changes were moved to the AMQProtocolEngine
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906890 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Contains helper classes for retrieving and holding information from a parsed address string
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906145 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
I added the patch attached to the above JIRA with modifications.
The modifications include integration with the address parser added by Rafi, and several refactoring and bug fixes to the original patch.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906142 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904934 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
passing null as the connection parameter
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904126 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
I added use_legacy_map_msg_format as a connection paramter to force the client to use the old map message format.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903940 13f79535-47bb-0310-9956-ffa450edef68
|