MQTT Publish not reflecting in sitemap

i am trying to publish from java client and able to receive the message from mqtt. but the value not reflecting on the web page. Where am wrong in it?
my java code

 client = new MqttClient("tcp://91.121.251.24:1883", "rs_id");
  client.connect();
  client.subscribe("/webpage/status");
  MqttMessage message = new MqttMessage();
  Thread.sleep(1000);
  message.setPayload("command:on".getBytes());
  client.publish("/webpage/status", message);
  client.disconnect();

items file

Switch webpage “Web Page Status” (all,mqtt) {mqtt=">[raffles:/webpage/status:command:ON:ON],>[mysensor:/testsw/1:command:OFF:ON]"}
String message “Log Status [%s]” {mqtt="<[raffles:/message/status:state:default]"}

I assume you configured the bindding file correctly.

You could use an MQTT client to test if something ist published:

http://www.mqttfx.org/

If this works but openHAB still does not, there are a lot of other threads with that problem:

Hmm I thought I had this happening… I can see in the events log the mqtt messge being received, but it doesn’t reflect on the switch n the UI

i found the issue used the clientid both my java client and as well in openhab.cfg file.