[JBoss JIRA] Created: (JBMESSAGING-1081) Allow configuration of distribution policy for queues with multiple consumers
by Julian Scheid (JIRA)
Allow configuration of distribution policy for queues with multiple consumers
-----------------------------------------------------------------------------
Key: JBMESSAGING-1081
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1081
Project: JBoss Messaging
Issue Type: Feature Request
Components: Messaging Core
Affects Versions: 1.4.0 CR3
Reporter: Julian Scheid
Assigned To: Tim Fox
Priority: Minor
The distribution policy for queues is currently hardwired to RoundRobinDistributor (in MessagingQueue.java) like this:
localDistributor = new DistributorWrapper(new RoundRobinDistributor());
remoteDistributor = new DistributorWrapper(new RoundRobinDistributor());
distributor = new ClusterRoundRobinDistributor(localDistributor, remoteDistributor);
This is a good default for when multiple clients are consuming a queue for purposes of load balancing. However, when there are multiple consumers for purposes of fail-over it can be desirable to use the FirstReceiverDistributor policy instead so that a second consumer only gets messages when the first consumer fails. (I am aware that this is simplifying matters a bit, FirstReceiverDistributor makes no such guarantees.)
This policy can currently only be changed by patching the source code and recompiling. It would be great if it would be possible to configure the distribution policy in a configuration file instead, ideally on a per-queue basis in destinations-service.xml.
This would ideally allow specifying arbitrary class names so that it's possible to install custom distributors.
All of this would obviously be useful for topics as well once JBMESSAGING-377 is implemented.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months
[JBoss JIRA] Created: (JBMESSAGING-1219) Messages are not redelivered after reconnection of message bridge
by Tyronne Wickramarathne (JIRA)
Messages are not redelivered after reconnection of message bridge
-----------------------------------------------------------------
Key: JBMESSAGING-1219
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1219
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Affects Versions: 1.4.0.SP3
Environment: JBoss-EAP-4.2_CP1 , JBM-1.4.0-SP3, RHEL5
Reporter: Tyronne Wickramarathne
Assigned To: Tim Fox
Fix For: Stable branch
JBM Bridge reconnection happens successfully but messages are not delivered to the destination via the bridge. however this problem doesn't occur on Windows environment.
modify the attached jms-ds.xml file with your remote machine's IP address, for the remote provider.
SourceProviderLoader is the remote machine, and our TargetProviderLoader is the local machine.
deploy the test-bridge-service.xml file on your local machine.
it has two bridges defined :
TestBridgeA remote queue/A -> local queue/C
TestBridgeB remote queue/B -> local queue/D
Add 10 messages to both queue A and queue B on the remote machine (we used a JSP page on the remote machine to do that) in order to establish everything is working.
Add 20000 (or more) messages to queue A on the remote machine.
wait until some of the messages have been delivered to queue C on the local machine.
disconnect the local machine from the network by pulling the network cable.
wait a couple of minutes.
re-connect the local machine to the network.
after a few seconds the message delivery should start again.
wait for all of the message to be delivered.
now - try sending 500 messages to queue/B on the remote machine
those 500 messages will never be delivered !
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months
[JBoss JIRA] Created: (JBMESSAGING-1222) Remote-bisocket JMS test fail on Mac OSX
by Aaron Walker (JIRA)
Remote-bisocket JMS test fail on Mac OSX
----------------------------------------
Key: JBMESSAGING-1222
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1222
Project: JBoss Messaging
Issue Type: Bug
Components: Tests and Performance
Affects Versions: 1.4.0.SP3
Environment: Mac OSX 10.4.11 Apple JVM 1.5.0_13
Mac OSX 10.5.1 Apple JVM 1.5.0_13
Reporter: Aaron Walker
Assigned To: Aaron Walker
Priority: Minor
I get a NullPointerException from the following in the ServerContainer.java and LocalTestServer.java when running the remote tests
ServerContainer.java
......
private void readConfigurationFile() throws Exception
{
InputStream cs = getClass().getClassLoader().getResourceAsStream(CONFIGURATION_FILE_NAME);
.....
and
LocalTestServer.java
.....
public void poisonTheServer(int type) throws Exception
{
URL url = this.getClass().getClassLoader().getResource("poison.xml");
return null when running the remote tests
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 9 months