JBoss Messaging 1.4 User's Guide

Enterprise Messaging from JBoss


Table of Contents

1. About JBoss Messaging 1.4
2. Introduction
2.1. JBoss Messaging Features
2.2. Compatibility with JBossMQ
3. Download Software
3.1. SVN Access
4. JBoss Messaging Installation
4.1. Installing JBoss Messaging on JBoss AS 4.2
4.1.1. Automated Installation
4.1.2. Manual Installation
4.1.3. Extra steps to complete your installation
4.2. Starting the Server
4.3. Installation Validation
4.4. Accessing JBoss Messaging from a remote client - JBoss 4.2 and EAP 4.3
4.5. Migrating Messages from JBoss MQ to JBoss Messaging
4.5.1. Steps to Set up the bridge
5. Running the Examples
6. Configuration
6.1. Configuring the ServerPeer
6.1.1. ServerPeer attributes
6.1.1.1. ServerPeerID
6.1.1.2. DefaultQueueJNDIContext
6.1.1.3. DefaultTopicJNDIContext
6.1.1.4. PostOffice
6.1.1.5. DefaultDLQ
6.1.1.6. DefaultMaxDeliveryAttempts
6.1.1.7. DefaultExpiryQueue
6.1.1.8. DefaultRedeliveryDelay
6.1.1.9. MessageCounterSamplePeriod
6.1.1.10. FailoverStartTimeout
6.1.1.11. FailoverCompleteTimeout
6.1.1.12. DefaultMessageCounterHistoryDayLimit
6.1.1.13. ClusterPullConnectionFactory
6.1.1.14. DefaultPreserveOrdering
6.1.1.15. RecoverDeliveriesTimeout
6.1.1.16. EnableMessageCounters
6.1.1.17. SuckerPassword
6.1.1.18. StrictTCK
6.1.1.19. Destinations
6.1.1.20. MessageCounters
6.1.1.21. MessageCountersStatistics
6.1.1.22. SupportsFailover
6.1.1.23. PersistenceManager
6.1.1.24. JMSUserManager
6.1.1.25. SecurityStore
6.1.1.26. We now discuss the MBean operations of the ServerPeer MBean.
6.1.1.26.1. DeployQueue
6.1.1.26.2. UndeployQueue
6.1.1.26.3. DestroyQueue
6.1.1.26.4. DeployTopic
6.1.1.26.5. UndeployTopic
6.1.1.26.6. DestroyTopic
6.1.1.26.7. ListMessageCountersHTML
6.1.1.26.8. ResetAllMesageCounters
6.1.1.26.9. ResetAllMesageCounters
6.1.1.26.10. EnableMessageCounters
6.1.1.26.11. DisableMessageCounters
6.1.1.26.12. RetrievePreparedTransactions
6.1.1.26.13. ShowPreparedTransactions
6.2. Changing the Database
6.3. Configuring the Post office
6.3.1. The post office has the following attributes
6.3.1.1. DataSource
6.3.1.2. SQLProperties
6.3.1.3. CreateTablesOnStartup
6.3.1.4. DetectDuplicates
6.3.1.5. IDCacheSize
6.3.1.6. PostOfficeName
6.3.1.7. NodeIDView
6.3.1.8. GroupName
6.3.1.9. Clustered
6.3.1.10. StateTimeout
6.3.1.11. CastTimeout
6.3.1.12. FailoverOnNodeLeave
6.3.1.13. MaxConcurrentReplications
6.3.1.14. ControlChannelConfig
6.3.1.15. DataChannelConfig
6.4. Configuring the Persistence Manager
6.4.1. Important notes for Sybase and Microsoft SQL Server users
6.4.2. We now discuss the MBean attributes of the PersistenceManager MBean
6.4.2.1. CreateTablesOnStartup
6.4.2.2. UsingBatchUpdates
6.4.2.3. UsingBinaryStream
6.4.2.4. UsingTrailingByte
6.4.2.5. SupportsBlobOnSelect
6.4.2.6. SQLProperties
6.4.2.7. MaxParams
6.4.2.8. UseNDBFailoverStrategy
6.5. Configuring the JMS user manager
6.5.1. We now discuss the MBean attributes of the JMSUserManager MBean
6.5.1.1. CreateTablesOnStartup
6.5.1.2. UsingBatchUpdates
6.5.1.3. SQLProperties
6.6. Configuring Destinations
6.6.1. Pre-configured destinations
6.6.2. Configuring queues
6.6.2.1. We now discuss the attributes of the Queue MBean
6.6.2.1.1. Name
6.6.2.1.2. JNDIName
6.6.2.1.3. DLQ
6.6.2.1.4. ExpiryQueue
6.6.2.1.5. RedeliveryDelay
6.6.2.1.6. MaxDeliveryAttempts
6.6.2.1.7. Destination Security Configuration
6.6.2.1.8. Destination paging parameters
6.6.2.1.9. CreatedProgrammatically
6.6.2.1.10. MessageCount
6.6.2.1.11. ScheduledMessageCount
6.6.2.1.12. MaxSize
6.6.2.1.13. Clustered
6.6.2.1.14. MessageCounter
6.6.2.1.15. MessageCounterStatistics
6.6.2.1.16. MessageCounterHistoryDayLimit
6.6.2.1.17. ConsumerCount
6.6.2.2. We now discuss the MBean operations of the Queue MBean
6.6.2.2.1. RemoveAllMessages
6.6.2.2.2. ListAllMessages
6.6.2.2.3. ListDurableMessages
6.6.2.2.4. ListNonDurableMessages
6.6.2.2.5. ResetMessageCounter
6.6.2.2.6. ResetMessageCounterHistory
6.6.2.2.7. ListMessageCounterAsHTML
6.6.2.2.8. ListMessageCounterHistoryAsHTML
6.6.3. Configuring topics
6.6.3.1. We now discuss the MBean attributes of the Topic MBean
6.6.3.1.1. Name
6.6.3.1.2. JNDIName
6.6.3.1.3. DLQ
6.6.3.1.4. ExpiryQueue
6.6.3.1.5. RedeliveryDelay
6.6.3.1.6. MaxDeliveryAttempts
6.6.3.1.7. Destination Security Configuration
6.6.3.1.8. Destination paging parameters
6.6.3.1.9. CreatedProgrammatically
6.6.3.1.10. MaxSize
6.6.3.1.11. Clustered
6.6.3.1.12. MessageCounterHistoryDayLimit
6.6.3.1.13. MessageCounters
6.6.3.1.14. AllMessageCount
6.6.3.1.15. DurableMessageCount
6.6.3.1.16. NonDurableMessageCount
6.6.3.1.17. AllSubscriptionsCount
6.6.3.1.18. DurableSubscriptionsCount
6.6.3.1.19. NonDurableSubscriptionsCount
6.6.3.2. We now discuss the MBean operations of the Topic MBean
6.6.3.2.1. RemoveAllMessages
6.6.3.2.2. ListAllSubscriptions
6.6.3.2.3. ListDurableSubscriptions
6.6.3.2.4. ListNonDurableSubscriptions
6.6.3.2.5. ListAllSubscriptionsAsHTML
6.6.3.2.6. ListDurableSubscriptionsAsHTML
6.6.3.2.7. ListNonDurableSubscriptionsAsHTML
6.6.3.2.8. ListAllMessages
6.6.3.2.9. ListNonDurableMessages
6.6.3.2.10. ListDurableMessages
6.7. Configuring Connection Factories
6.7.1. We now discuss the MBean attributes of the ConnectionFactory MBean
6.7.1.1. ClientID
6.7.1.2. JNDIBindings
6.7.1.3. PrefetchSize
6.7.1.4. SlowConsumers
6.7.1.5. StrictTck
6.7.1.6. SendAcksAsync
6.7.1.7. Temporary queue paging parameters
6.7.1.8. DupsOKBatchSize
6.7.1.9. SupportsLoadBalancing
6.7.1.10. SupportsFailover
6.7.1.11. DisableRemotingChecks
6.7.1.12. LoadBalancingFactory
6.7.1.13. Connector
6.8. Configuring the remoting connector
6.9. ServiceBindingManager
7. JBoss Messaging Clustering Notes
7.1. Unique server peer id
7.2. Clustered destinations
7.3. Clustered durable subs
7.4. Clustered temporary destinations
7.5. Non clustered servers
7.6. Message ordering in the cluster
7.7. Idempotent operations
7.8. Clustered connection factories
8. JBoss Messaging XA Recovery Configuration
9. JBoss Messaging Message Bridge Configuration
9.1. Message bridge overview
9.2. Bridge deployment
9.3. Bridge configuration
9.3.1. SourceProviderLoader
9.3.2. TargetProviderLoader
9.3.3. SourceDestinationLookup
9.3.4. TargetDestinationLookup
9.3.5. SourceUsername
9.3.6. SourcePassword
9.3.7. TargetUsername
9.3.8. TargetPassword
9.3.9. QualityOfServiceMode
9.3.10. Selector
9.3.11. MaxBatchSize
9.3.12. MaxBatchTime
9.3.13. SubName
9.3.14. ClientID
9.3.15. FailureRetryInterval
9.3.16. MaxRetries
9.3.17. AddMessageIDInHeader