activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Badri <badrinarayanan.doraisw...@fxall.com>
Subject Need help on the configuration below
Date Thu, 10 Jul 2008 15:59:44 GMT

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.


Mime
View raw message