[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Do we have a problem with Synchronous channel?
clebert.suconic@jboss.com
do-not-reply at jboss.com
Thu Oct 26 23:23:06 EDT 2006
I think there is a problem with JGroups configuration while testing this. I hope this is not something specific on my computer. If someone else could test this.
syncRequests are not being received on nodeB for some reason.
Even changing PostOfficeRequestHandler::handle to verbose on messages, I never get any message received.
| private class PostOfficeRequestHandler implements RequestHandler
| {
| public Object handle(Message message)
| {
| System.out.println("***************Request handler**************");
| if (trace) { log.info(nodeId + " received message " + message + " on sync channel"); }
| try
| {
| byte[] bytes = message.getBuffer();
|
| ClusterRequest request = readRequest(bytes);
|
| Object result = request.execute(DefaultClusteredPostOffice.this);
|
| return result;
| }
| catch (Throwable e)
| {
| log.error("Caught Exception in RequestHandler", e);
| IllegalStateException e2 = new IllegalStateException(e.getMessage());
| e2.setStackTrace(e.getStackTrace());
| throw e2;
| }
| }
| }
|
getState() is working fine through synchronous channel.
Assync is also working fine, but not sync.
I was having problems on finding new binding over the cluster and this was the problem.
Clebert Suconic
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981198#3981198
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981198
More information about the jboss-dev-forums
mailing list