You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Badri <ba...@fxall.com> on 2008/07/10 17:59:44 UTC

Need help on the configuration below

Hi

I am currently using Active MQ 5.1.

I ran the query command & I have pasted 2 subscriptions out of it.

DispatchedQueueSize = 0
ConnectionId = ID:qa01-44509-1214325055754-0:6
PrefetchSize = 32766
DispachedCounter = 0
DiscardedCount = 0
active = true
DequeueCounter = 1
PendingQueueSize = 0
MaximumPendingQueueSize = -1
SubcriptionId = 2
Type = Subscription
DestinationQueue = false
DestinationTopic = true
DestinationName = ID:qa01-44509-1214325055754-0:6:1
Active = true
DestinationTemporary = true
BrokerName = localhost
EnqueueCounter = 1
ClientId = ID:qa01-44509-1214325055754-2:6
SessionId = 2
name = ID_qa01-44509-1214325055754-0_6_2_2

-----------------------------------------------------------------------------------------
DispatchedQueueSize = 0
ConnectionId = ID:qa01-44509-1214325055754-0:18
PrefetchSize = 32766
DispachedCounter = 0
DiscardedCount = 0
active = true
DequeueCounter = 0
PendingQueueSize = 0
MaximumPendingQueueSize = -1
SubcriptionId = 1
Type = Subscription
DestinationQueue = false
DestinationTopic = true
DestinationName = MD.C1
Active = true
DestinationTemporary = false
BrokerName = localhost
EnqueueCounter = 0
ClientId = ID:qa01-44509-1214325055754-2:18
SessionId = 2
name = ID_qa01-44509-1214325055754-0_18_2_1
--------------------------------------------------------------------------------------------

I have added the following policy entry in activemq.xml:

                    <policyEntry  topic="MD.C1" producerFlowControl="false"
memoryLimit="20mb">
                        <destination><topic
physicalName="ID_qa01>"/></destination>
                        <dispatchPolicy>
                            <strictOrderDispatchPolicy/>
                        </dispatchPolicy>
                        <pendingMessageLimitStrategy>
                            <prefetchRatePendingMessageLimitStrategy
multiplier="2"/>
                        </pendingMessageLimitStrategy>
                    </policyEntry>

                    <policyEntry  topic="ID_qa01"
producerFlowControl="false" memoryLimit="20mb">
                        <dispatchPolicy>
                            <strictOrderDispatchPolicy/>
                        </dispatchPolicy>
                        <pendingMessageLimitStrategy>
                            <prefetchRatePendingMessageLimitStrategy
multiplier="2"/>
                        </pendingMessageLimitStrategy>
                    </policyEntry>

Can anyone let me know if this is right way to configure activemq.xml?
We are using temporary topics to receive data. The publisher publishes on
topic MD.C1, MD.C2,....,etc

Does "name" represent the destination or is it same as ClientId,
ConnectionId?

Any help and guidance will be appreciable.

Thanks
Badri



-- 
View this message in context: http://www.nabble.com/Need-help-on-the-configuration-below-tp18385578p18385578.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.