|
|
| Author |
Message |
< RabbitMQ mailing list ~ Java Client library : RPCClient throws nullpointerexception |
| tonyg |
Posted: Tue Jan 12, 2010 5:23 pm |
|
|
|
User
Joined: 07 Nov 2006
Posts: 199
|
Hi Rajesh,
Reddy, Rajesh (GPT EMEA) wrote:
> Iam getting the following EOF Exception when trying to cal the
> mapcall() on Rpcclient in java library. This is the same exception
> I get if trying to create a new instance of JsonRpcClient.
Your stacktrace indicates that the correlation ID of the reply message
does not match the correlation ID expected by the client.
Off the top of my head, this could happen because of a bug in the RPC
server program, or because there are stale reply messages in the reply
queue.
Do the bundled HelloClient and HelloServer examples work?
> There are no examples for java libraray.
Yes, there are: See classes HelloClient and HelloServer, which use
RpcClient and RpcServer, and classes HelloJsonClient and HelloJsonServer
which use JsonRpcClient and JsonRpcServer.
Regards,
Tony
--
[][][] Tony Garnock-Jones | Mob: +44 (0)7905 974 211
[][] LShift Ltd | Tel: +44 (0)20 7729 7060
[] [] http://www.lshift.net/ | Email: tonyg@lshift.net
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|