-
1. Re: Define Queue Size
ataylor May 1, 2014 6:56 AM (in response to yairogen)you need to define AddressSettings to control this
-
2. Re: Define Queue Size
yairogen May 1, 2014 2:00 PM (in response to ataylor)Where? I don't see an option to pass this in createQueue.
-
3. Re: Define Queue Size
jbertram May 1, 2014 3:04 PM (in response to yairogen)You can't manipulate address settings via the ClientSession. Look here.
-
4. Re: Define Queue Size
yairogen May 1, 2014 4:13 PM (in response to jbertram)So, I basically need to call addAddressSettings each time I create a new address?
-
5. Re: Define Queue Size
jbertram May 1, 2014 4:23 PM (in response to yairogen)How often you need to call addAddressSettings depends on:
- How do you create your queues? Are they all bound to the same address? If so, then you'll just need to call addAddressSettings once? If not, then you might need to call addAddressSettings for each unique address where you create a queue.
- What are you using as a match on your address setting? I recommend you read the documentation related to this.
-
6. Re: Define Queue Size
yairogen May 7, 2014 9:21 AM (in response to jbertram)Assuming I want to create an address on a non-embedded server, how do I obtain an instance of HornetQServerControl? Do I need to create and instance of HonretQServer and from there create the control from the ServerManager?
-
7. Re: Define Queue Size
yairogen May 7, 2014 9:21 AM (in response to yairogen)Anyone know how to do this?
-
8. Re: Define Queue Size
ataylor May 7, 2014 9:55 AM (in response to yairogen)1 of 1 people found this helpfulhave a look at the ClientKickoffExample, it does something similar
-
9. Re: Define Queue Size
yairogen May 8, 2014 3:09 AM (in response to ataylor)The only way to obtain a HornetQServerControl instance is via the JMX API?
-
10. Re: Define Queue Size
ataylor May 8, 2014 5:08 AM (in response to yairogen)1 of 1 people found this helpfulJMX or JMS, the user manual explains all the ways to access management objects.