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://", "rs_id");
  MqttMessage message = new MqttMessage();
  client.publish("/webpage/status", message);

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:

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.