summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Moved string literal 'Qpid_HOME' to constant QPID_HOMEMartin Ritchie2007-04-201-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530686 13f79535-47bb-0310-9956-ffa450edef68
* Made IMMEDIATE_PREFETCH to allow access from additional test class.Martin Ritchie2007-04-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530685 13f79535-47bb-0310-9956-ffa450edef68
* Reinstated the two consumer receive test. Martin Ritchie2007-04-202-23/+119
| | | | | | Added additional test class to cover the IMMEDIATE_PREFETCHs. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530683 13f79535-47bb-0310-9956-ffa450edef68
* Additional test to ensure connection closure doesn't cause problems.Martin Ritchie2007-04-191-0/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530449 13f79535-47bb-0310-9956-ffa450edef68
* Committed test with localhost as the brokerMartin Ritchie2007-04-191-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530447 13f79535-47bb-0310-9956-ffa450edef68
* QPID-454 - Message 'taken' notion is per message. Adjusted to be per message ↵Martin Ritchie2007-04-191-22/+78
| | | | | | | | per queue. Previous commit was not sufficiently tested and other bugs were causing problems that were not related to this change. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530444 13f79535-47bb-0310-9956-ffa450edef68
* QPID-455 Pre-fetched messages can cause problems with client tools. Set ↵Martin Ritchie2007-04-191-17/+29
| | | | | | | | | | | IMMEDIATE_PREFETCH="true" for previous behaviour. Inverted check now setting System proprety IMMEDIATE_PREFETCH="true" will cause existing messages to be immediately pre-fetched to the newly registered consumer. Solved out standing broker issues see QPID-458 and QPID-459. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530442 13f79535-47bb-0310-9956-ffa450edef68
* QPID-459 - NoLocal broken when messages already exist on queue from ↵Martin Ritchie2007-04-191-3/+17
| | | | | | | | | | consumer. With test. ConcurrentSelectorDeliveryManager - method changes from hasFilter to filtersMessages. Forgot to include the file in the commit. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530441 13f79535-47bb-0310-9956-ffa450edef68
* Added Test logging to aid in diagnosing problemsMartin Ritchie2007-04-191-2/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530438 13f79535-47bb-0310-9956-ffa450edef68
* QPID-459 - NoLocal broken when messages already exist on queue from ↵Martin Ritchie2007-04-191-19/+100
| | | | | | | | | | consumer. With test. TopicSessionTest - Additional testing for NoLocal to ensure. Forgot to include the file in the commit. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530437 13f79535-47bb-0310-9956-ffa450edef68
* QPID-459 - NoLocal broken when messages already exist on queue from ↵Martin Ritchie2007-04-197-21/+28
| | | | | | | | | | | | | | consumer. With test. AMQChannel remove comment around setPublisher - this is used by noLocal implementation. Subscription - rename of hasFilters to filtersMessages AMQQueue/RemoteSubscriptionImpl/SubscriptionTestHelper/SubscriptionSet - rename of hasFilters to filtersMessages SubscriptionImpl - rename of hasFilters to filtersMessages and changes to include noLocal in that check. TopicSessionTest - Additional testing for NoLocal to ensure. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530432 13f79535-47bb-0310-9956-ffa450edef68
* QPID-455 - Guarded test with a check until a full solution is foundMartin Ritchie2007-04-181-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530052 13f79535-47bb-0310-9956-ffa450edef68
* QPID-455 Prefetched messages can cause problems with client tools.Martin Ritchie2007-04-181-26/+32
| | | | | | Removed the changes as this was causing problems. Guarded with a check for now but solution is till not correct. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530049 13f79535-47bb-0310-9956-ffa450edef68
* ResetMessageListenerTest was using the wrong queue for running tests. This ↵Martin Ritchie2007-04-181-1/+1
| | | | | | | | was causing problems during testing. Changed queue to use ResetMessageListenerTest queue git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530048 13f79535-47bb-0310-9956-ffa450edef68
* Fix for intermittent CRT expected <1> but was <2> errorsMartin Ritchie2007-04-181-6/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530047 13f79535-47bb-0310-9956-ffa450edef68
* Removed e.printstacktrace that sneaked in with the other code style changes.Martin Ritchie2007-04-181-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530044 13f79535-47bb-0310-9956-ffa450edef68
* QPID-458 Fix to make the CSDM check if a message is taken when deliverying ↵Martin Ritchie2007-04-181-4/+8
| | | | | | to browser. Removing the message from the queue and continuing if that is the caee. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530043 13f79535-47bb-0310-9956-ffa450edef68
* QPID-457 Fixed rollback inTran problem with test case Missed the actual file ↵Martin Ritchie2007-04-181-0/+1
| | | | | | fix. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530042 13f79535-47bb-0310-9956-ffa450edef68
* QPID-457 Fixed rollback inTran problem with test caseMartin Ritchie2007-04-182-1/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-454 Message 'taken' notion is per message. REVERTED as it just wasn't ↵Martin Ritchie2007-04-181-28/+21
| | | | | | right.. needs to be refactored. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530037 13f79535-47bb-0310-9956-ffa450edef68
* AMQUserManagementMBean.java - calling relaod within viewUsers method.Bhupendra Bhusman Bhardwaj2007-04-189-11/+97
| | | | | | Creating user list on management console instead of typing the user name. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@530034 13f79535-47bb-0310-9956-ffa450edef68
* QPID-417Bhupendra Bhusman Bhardwaj2007-04-171-0/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@529669 13f79535-47bb-0310-9956-ffa450edef68
* QPID-455 Prefetched messages can cause problems with client tools.Martin Ritchie2007-04-177-103/+182
| | | | | | | | | | | | | | | AMQSession - suspend channel at startup until start() and recieve/setMessageListener are called. BasicMessageConsumer - mainly style sheet changes MessageListenerMultiConsumerTest - removed one test case as we cannot ensure round-robin effect at start up .. added test case for only c2 consuming when c1 does nothing. MessageListenerTest - added new test that can demonstrate a further bug of message 'loss' when a receive is called only once before a message listener is set. Prefetched message end up on _SynchronousQueue regression of QPID-293 as of r501004. MessageRequeueTest - Was missing a conn.start() DurableSubscriptionTest - Removed blocking receives() so we don't block on failure CommitRollbackTest - Text message was wrong on testGetThenDisconnect tests so adjusted git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@529666 13f79535-47bb-0310-9956-ffa450edef68
* QPID-454 Message 'taken' notion is per message. But should be per message ↵Martin Ritchie2007-04-175-44/+67
| | | | | | | | | | | | | per queue AMQChannel - pass queue in on all take/release/getSubscriptionDelievered calls BasicRejectMethodHandler - pass queue in on getSubscriptionDelievered calls AMQMessage - Changes to require AMQQueue on all take/release/getSubscriptionDelievered calls ConcurrentSelectorDeliveryManager - pass queue in on take/release/getSubscriptionDelievered calls SubscriptionImpl - - pass queue in on release calls git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@529659 13f79535-47bb-0310-9956-ffa450edef68
* QPID-422 : Combined all user configured notifications on one view.Bhupendra Bhusman Bhardwaj2007-04-1712-401/+703
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@529635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-453 : AMQShortString should implement ComparableRobert Godfrey2007-04-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@529297 13f79535-47bb-0310-9956-ffa450edef68
* removed default username as guest. Added hashing for new user password field. Bhupendra Bhusman Bhardwaj2007-04-167-36/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@529246 13f79535-47bb-0310-9956-ffa450edef68
* added parameter for SASLBhupendra Bhusman Bhardwaj2007-04-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@529233 13f79535-47bb-0310-9956-ffa450edef68
* Created new ping client that sends messages only. Usefull for examaning ↵Robert Greig2007-04-133-3/+67
| | | | | | known queue states in mgmnt console. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@528424 13f79535-47bb-0310-9956-ffa450edef68
* QPID-352 ChangesMarnie McCormack2007-04-121-6/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@528005 13f79535-47bb-0310-9956-ffa450edef68
* QPID-352 ChangesMarnie McCormack2007-04-121-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@528003 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446Martin Ritchie2007-04-122-0/+8
| | | | | | | Updated sample configs to contain jmx security options. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527972 13f79535-47bb-0310-9956-ffa450edef68
* refining the mbean operationsBhupendra Bhusman Bhardwaj2007-04-123-9/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527959 13f79535-47bb-0310-9956-ffa450edef68
* not needed for management consoleBhupendra Bhusman Bhardwaj2007-04-121-19/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527941 13f79535-47bb-0310-9956-ffa450edef68
* QPID-451 Throw InvalidDestinationException on attempt to publish to a Queue ↵Robert Godfrey2007-04-126-29/+170
| | | | | | | | | which does not exist Changed QueueSenderAdapter to check if the routing key is bound to a queue on the given exchange. The checking can be turned off by setting the system property org.apache.qpid.client.verifyQueueBindingBeforePublish to anything but true git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527876 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Removed hashing of presented password in ↵Martin Ritchie2007-04-121-14/+1
| | | | | | Base64MD5PasswordFilePrincipalDatabase. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527848 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Update to send userList to JMX Management console.Martin Ritchie2007-04-126-186/+484
| | | | | | | | | | | | | | Currently niave implementation just sending ALL users in one go. If a LDAPPrincipalDatabase was created this could be quite a lot of data a) to send but b) to create in broker Heap. PrincipalDatabase - javadoc'd and getUsers method, -changed verifyPassword method to take String for username rather than Principal only the Managment Console uses this method and it the MC should be changed to use the Broker SASL modules directly rather than having very similar ones of its own. - Removed AccountNotFound exception from createPrincipal as it made no sence No-op implementation in PlainPasswordFilePrincipalDatabase and PropertiesPrincipalDatabase Base64MD5PasswordFilePrincipalDatabase changed local User class to implement Principal so current Map can be returned via getUsers - Added locking to ensure integrity of files in the face of multiple edits. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527843 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Update to write accessRights file and correctly write Base64 MD5 ↵Martin Ritchie2007-04-126-29/+133
| | | | | | | | | | | Hashed password to password file. MBeanInvocationHandlerImpl - made statics ADMIN,READONLY,READWRITE public so they can be used in writing the access file. AMQUserManagementMBean - Update to write the access File. PrincipalDatabase - create getUser(username) to retrieve a Principal from the database this is then implemented in all PDs. Used to check for existence of a user. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527803 13f79535-47bb-0310-9956-ffa450edef68
* QpiQPID-446 Update to ensure qpid.password file is correctly written in ↵Martin Ritchie2007-04-111-2/+48
| | | | | | savePasswordFile git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527558 13f79535-47bb-0310-9956-ffa450edef68
* Fixed Bug in convertPassword where data wasn't correctly updated ↵Martin Ritchie2007-04-111-1/+1
| | | | | | PropertiesPrincipalDatabase, git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527557 13f79535-47bb-0310-9956-ffa450edef68
* synchronized with hash mechanism used in BrokerBhupendra Bhusman Bhardwaj2007-04-111-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Update to contain jmx config settings.Martin Ritchie2007-04-111-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527537 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Martin Ritchie2007-04-1110-57/+175
| | | | | | | | | | | | | | | | | | JMXManagedObjectRegistry - Split instantiation from starting up. To all the setting of the Access file when loaded later in the startup sequence. ManagedObjectRegistry - Added Start method MBeanInvocationHandlerImpl - Updated to allow the setting of the access properties object from the AMQUserManagementMBean NoopManagedObjectRegistry - implemented no-op start ConfigurationFileApplicationRegistry - Adjusted to split creation of ManagedObjectRegistry from starting server to allow the setting of access rights. AMQUserManagementMBean - Implemented reading of access rights file. Base64MD5PasswordFilePrincipalDatabase - added comment for future Management. PrincipalDatabaseManager - added initialiseManagement method ConfigurationFilePrincipalDatabaseManager - implemented general Management initialisation. PropertiesPrincipalDatabaseManager - no-op implementation git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527518 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: ↵Bhupendra Bhusman Bhardwaj2007-04-111-2/+2
| | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527509 13f79535-47bb-0310-9956-ffa450edef68
* QPID-444 : added CRAM-MD5-HASHED mechanism for saslBhupendra Bhusman Bhardwaj2007-04-1114-60/+323
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527499 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Missed the commit of JMXManagedObjectRegistry change on ↵Martin Ritchie2007-04-111-10/+12
| | | | | | verifyPassword char[] to String git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527493 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 AMQUserManagementMBean Initial implementation of user management ↵Martin Ritchie2007-04-117-67/+561
| | | | | | | | | | | in authentication file. UserManagement - Added annotations for MBeanOperations PrincipalDatabase - Added new methods to update,create,delete Principal. - Implemented method on all PrincipalDatabase implementations, most return false to say not complete except Base64MD5PasswordFilePrincipalDatabase - which now stores in memory the password file and flushes any changes to disk. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527487 13f79535-47bb-0310-9956-ffa450edef68
* QPID-446 Initial MBean framework.Martin Ritchie2007-04-102-0/+171
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527182 13f79535-47bb-0310-9956-ffa450edef68
* Added a test to check that Persistent Queues do actually persist.Martin Ritchie2007-04-101-0/+276
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527053 13f79535-47bb-0310-9956-ffa450edef68
* QueueDeclareHandler.java - Added more detail to error messages. Such as ↵Martin Ritchie2007-04-101-27/+25
| | | | | | returning the queue name that was attempted to be declared but failed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@527050 13f79535-47bb-0310-9956-ffa450edef68