powered by Jive Software

Smack client recieving history packets

I am writing a bot using smack as a openfire pugin. So, after deploying in log I can able to see roaster query which I am not sending any where in the code, presence message receiving .

In muc history message before deploying the plugin I have sent the message,

HI this is test message

but after the deploying bot plugin I am recieving the same history message,even though I set maxhistorystanza as 0.

I have written this client based on ofchat plugin reference.Below is the code which I am using and log after deploying the plugin.

XmppChatManager:

public class XmppChatManager extends AbstractXMPPConnection implements InvitationListener{
	
private static Logger Log = LoggerFactory.getLogger( "OpenfireConnection" );

	private static final ConcurrentHashMap<String, XmppChatManager> connections = new ConcurrentHashMap<>();
	private static final List<Subscription> subscriptions = new ConcurrentGroupList<>();
	private static final ConcurrentHashMap<String, XmppChatManager> users = new ConcurrentHashMap<>();
	private static final String domain = XMPPServer.getInstance().getServerInfo().getXMPPDomain();
	private static final String hostname = XMPPServer.getInstance().getServerInfo().getHostname();
	public boolean anonymous = false;
	public ConcurrentHashMap<String, Chat> chats;
	private LocalClientSession session;
	private SmackConnection smackConnection;
	public OpenfireConfiguration config;
	public MultiUserChatManager mucManager;
	public ConcurrentHashMap<String, MultiUserChat> groupchats;
	private ChatManager chatManager;


	public XmppChatManager(OpenfireConfiguration configuration) {
		super(configuration);
		config = configuration;
		user = getUserJid();
	}


	public static XmppChatManager createConnection(String username, String password, boolean anonymous)
	{
		try {

			if (!anonymous && username != null && password != null && !"".equals(username.trim()) && !"".equals(password.trim()))
			{
				AuthFactory.authenticate( username, password );
			}

		} catch ( Exception e ) {
			return null;
		}

		XmppChatManager connection = users.get(username);

		if (connection == null)
		{
			try {
				OpenfireConfiguration config = OpenfireConfiguration.builder()
						.setUsernameAndPassword(username, password)
						.setXmppDomain(domain)
						.setResource(username + (new Random(new Date().getTime()).nextInt()))
						.setHost(hostname)
						.setPort(0)
						.enableDefaultDebugger()
						.setSendPresence(true)
						.build();
				connection = new XmppChatManager(config);
				connection.anonymous = false;
				connection.connect();
				connection.login();
				Presence presence = new Presence(Presence.Type.available);
				connection.sendStanza(presence);

				connections.put(connection.getStreamId(), connection);
				users.put(username, connection);
				connection.chats = new ConcurrentHashMap<String, Chat>();
				connection.groupchats = new ConcurrentHashMap<String, MultiUserChat>();

			}
			catch(Exception e) {
				Log.error("Error occured::",e);
			}
		}
		return connection;
	}



	public boolean joinRoom(String mGroupChatName, String mNickName,boolean isListenerRequired) {
		Log.debug("joinRoom " + mGroupChatName + " " + mNickName);
		if(mGroupChatName!=null) {
			try {
				MultiUserChat mMultiUserChat1 = groupchats.get(mGroupChatName);

				if (mMultiUserChat1 == null)
				{
					MultiUserChat mMultiUserChat = mucManager.getMultiUserChat(JidCreate.entityBareFrom(mGroupChatName));
					groupchats.put(mGroupChatName, mMultiUserChat);
					DiscussionHistory history = new DiscussionHistory();
					history.setMaxStanzas(0);
					history.setMaxChars(0);
					mMultiUserChat.join(Resourcepart.from(mNickName),null,history,SmackConfiguration.getDefaultPacketReplyTimeout());
					if(isListenerRequired) {
						//based on condition add muc chat listener
						mMultiUserChat.addMessageListener(new MessageListener() {

							@Override
							public void processMessage(Message message) {
								//mGroupChatName
								Log.info("MUC message recieved is::{}",message.toXML(null));
							}
						});
					}
					return true;
				}

			} catch (Exception e) {
				Log.error("joinRoom", e);

			}
		}
		return false;
	}



	public void addChatManagerInstance() {
		this.chatManager = ChatManager.getInstanceFor(this);
	}


	public void addChatListener() {
		this.chatManager.addIncomingListener(new IncomingChatMessageListener() {
			@Override
			public void newIncomingMessage(EntityBareJid from, Message message, Chat chat) {
				Log.info("Message :::"+message.getBody());
			}
		});
	}



	public void addMUCChatManagerInstance() {
		this.mucManager = MultiUserChatManager.getInstanceFor(this);
	}



	public void addMucInviteListener() {
		this.mucManager.addInvitationListener(this);
	}



	public void joinChatroom(boolean isListenerRequired) throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException, NotAMucServiceException {
		List<DomainBareJid> mucServiceDomains = this.mucManager.getMucServiceDomains();

		for (DomainBareJid domainBareJid : mucServiceDomains) {
			List<HostedRoom> hostedRooms = this.mucManager.getHostedRooms(domainBareJid);
			for (HostedRoom hostedRoom : hostedRooms) {
				Log.info("hostedRooms::: jid{}  name{}",hostedRoom.getJid(),hostedRoom.getName());
				try {
					this.joinRoom(hostedRoom.getJid().toString(), this.getUserJid().getLocalpart().toString(),isListenerRequired);
				} catch (Exception e) {
					Log.error("Error joinign muc::",e);
				}
			}
		}
	}




	public boolean leaveRoom(String mGroupChatName) {
		Log.debug("leaveRoom " + mGroupChatName);

		try {
			MultiUserChat mMultiUserChat = groupchats.get(mGroupChatName);
			mMultiUserChat.leave();
			return true;

		} catch (Exception e) {
			Log.error("leaveRoom", e);
			return false;
		}
	}




	public boolean sendChatMessage(String message, String to) {
		Log.debug("sendChatMessage " + to + "\n" + message);

		try {
			Chat chat = chats.get(to);

			if (chat == null) {
				chat = chatManager.chatWith(JidCreate.entityBareFrom(to));
				chats.put(to, chat);
			}

			try {
				Message newMessage = new Message();

				JSONObject jsonBody = new JSONObject(message);

				if (jsonBody.has("body"))
				{
					newMessage.setType(Message.Type.chat);
					newMessage.setBody(jsonBody.getString("body"));
				}

				JivePropertiesManager.addProperty(newMessage, "data", message);
				chat.send(newMessage);
				return true;

			} catch (Exception e1) { }

			chat.send(message);
			return true;

		} catch (Exception e) {
			Log.error("sendChatMessage", e);
			return false;
		}
	}


	public boolean sendRoomMessage(String mGroupChatName, String text) {
		Log.debug("sendRoomMessage " + mGroupChatName + "\n" + text);

		try {
			if (text.startsWith("{") && text.endsWith("}"))
			{
				try {
					Message newMessage = new Message();
					JSONObject jsonBody = new JSONObject(text);

					if (jsonBody.has("body"))
					{
						newMessage.setType(Message.Type.groupchat);
						newMessage.setBody(jsonBody.getString("body"));
					}

					JivePropertiesManager.addProperty(newMessage, "data", text);
					groupchats.get(mGroupChatName).sendMessage(newMessage);
					return true;
				} catch (Exception e1) { }
			}
			groupchats.get(mGroupChatName).sendMessage(text);
			return true;

		} catch (Exception e) {
			Log.error("sendRoomMessage", e);
			return false;
		}
	}


	private void sendPacket(TopLevelStreamElement stanza)
	{
		sendPacket(stanza.toXML(StreamOpen.CLIENT_NAMESPACE).toString());
		firePacketSendingListeners((Stanza) stanza);
	}

	public void sendPacket(String data)
	{
		try {
			Log.debug("sendPacket " + data );
			smackConnection.getRouter().route(DocumentHelper.parseText(data).getRootElement());

		} catch ( Exception e ) {
			Log.error( "An error occurred while attempting to route the packet : ", e );
		}
	}

	@Override
	public void sendNonza(Nonza element) {
		TopLevelStreamElement stanza = (TopLevelStreamElement) element;
		sendPacket(stanza);
	}

	@Override
	protected void sendStanzaInternal(Stanza packet) {
		TopLevelStreamElement stanza = (TopLevelStreamElement) packet;
		sendPacket(stanza);
	}

	public void enableStreamFeature(ExtensionElement streamFeature) {
		addStreamFeature(streamFeature);
	}

	@Override
	public boolean isSecureConnection() {
		return false;
	}

	@Override
	public boolean isUsingCompression() {
		return false;
	}
	@Override
	protected void connectInternal() throws SmackException, IOException, XMPPException, InterruptedException {
		Log.debug("connectInternal " + config.getUsername());

		streamId = "botuser" + new Random(new Date().getTime()).nextInt();
		smackConnection = new SmackConnection(streamId, this);
		connected = true;
		saslFeatureReceived.reportSuccess();
		tlsHandled.reportSuccess();

	}


	private EntityFullJid getUserJid()
	{
		try {
			return JidCreate.entityFullFrom(config.getUsername() + "@" + config.getXMPPServiceDomain() + "/" + config.getResource());
		}
		catch (XmppStringprepException e) {
			throw new IllegalStateException(e);
		}
	}

	@Override
	protected void loginInternal(String username, String password, Resourcepart resource) throws XMPPException
	{
		Log.info("loginInternal  "+user);
		try {
			AuthToken authToken = null;

			if (username == null || password == null || "".equals(username) || "".equals(password))
			{
				String user = resource.toString();
				if (username != null && !"".equals(username)) user = username;
				authToken = new AuthToken(user, anonymous);

			} else {
				username = username.toLowerCase().trim();
				user = getUserJid();
				JID userJid = XMPPServer.getInstance().createJID(username, null);

				session = (LocalClientSession) SessionManager.getInstance().getSession(userJid);

				if (session != null)
				{
					session.close();
					SessionManager.getInstance().removeSession(session);
				}


				try {
					authToken = AuthFactory.authenticate( username, password );

				} catch ( UnauthorizedException e ) {
					authToken = new AuthToken(resource.toString(), true);
				}
			}

			session = SessionManager.getInstance().createClientSession( smackConnection, (Locale) null );
			smackConnection.setRouter( new SessionPacketRouter( session ) );
			session.setAuthToken(authToken, resource.toString());
			authenticated = true;

			afterSuccessfulLogin(false);

		} catch (Exception e) {
			Log.error("loginInternal", e);
		}
	}



	public static XmppChatManager removeConnection(String streamId) throws SmackException
	{
		XmppChatManager connection = connections.remove(streamId);

		if (connection != null)
		{
			users.remove(connection.getUsername());
			connection.disconnect(new Presence(Presence.Type.unavailable));
		}

		return connection;
	}







	@Override
	protected void shutdown() {
		Log.debug("shutdown " + config.getUsername());

		user = null;
		authenticated = false;

		try {
			JID userJid = XMPPServer.getInstance().createJID(getUsername(), config.getResource().toString());

			session = (LocalClientSession) SessionManager.getInstance().getSession(userJid);

			if (session != null)
			{
				session.close();
				SessionManager.getInstance().removeSession(session);
			}

		} catch (Exception e) {
			Log.error("shutdown", e);
		}
	}
	public String getUsername()
	{
		return config.getUsername().toString();
	}

	// -------------------------------------------------------
	//
	// SmackConnection
	//
	// -------------------------------------------------------

	public class SmackConnection extends VirtualConnection
	{
		private SessionPacketRouter router;
		private String remoteAddr;
		private String hostName;
		private LocalClientSession session;
		private boolean isSecure = false;
		private XmppChatManager connection;

		public SmackConnection(String hostName, XmppChatManager connection)
		{
			this.remoteAddr = hostName;
			this.hostName = hostName;
			this.connection = connection;
		}

		public void setConnection(XmppChatManager connection) {
			this.connection = connection;
		}

		public boolean isSecure() {
			return isSecure;
		}

		public void setSecure(boolean isSecure) {
			this.isSecure = isSecure;
		}

		public SessionPacketRouter getRouter()
		{
			return router;
		}

		public void setRouter(SessionPacketRouter router)
		{
			this.router = router;
		}

		public void closeVirtualConnection()
		{
			Log.debug("SmackConnection - close ");

			if (this.connection!= null) this.connection.shutdown();
		}

		public byte[] getAddress() {
			return remoteAddr.getBytes();
		}

		public String getHostAddress() {
			return remoteAddr;
		}

		public String getHostName()  {
			return ( hostName != null ) ? hostName : "0.0.0.0";
		}

		public void systemShutdown() {

		}

		public void deliver(org.xmpp.packet.Packet packet) throws UnauthorizedException
		{
			deliverRawText(packet.toXML());
		}

		public void deliverRawText(String text)
		{
			int pos = text.indexOf("<message ");

			if (pos > -1)
			{
				text = text.substring(0, pos + 9) + "xmlns=\"jabber:client\"" + text.substring(pos + 8);
			}

			Log.debug("SmackConnection - deliverRawText\n" + text);

			Stanza stanza = connection.handleParser(text);

			if (stanza != null)
			{
				processMessageStanza(stanza);
			}
		}

		@Override
		public org.jivesoftware.openfire.spi.ConnectionConfiguration getConfiguration()
		{
			return null;
		}

		public Certificate[] getPeerCertificates() {
			return null;
		}

	}



	public void processMessageStanza(Stanza packet)
	{
		Log.debug("Received packet: \n" + packet.toXML(StreamOpen.CLIENT_NAMESPACE));

	}





	public static class OpenfireConfiguration extends ConnectionConfiguration
	{
		protected OpenfireConfiguration(Builder builder) {
			super(builder);
		}

		public static Builder builder() {
			return new Builder();
		}

		public static final class Builder extends ConnectionConfiguration.Builder<Builder, OpenfireConfiguration> {

			private Builder() {
			}

			@Override
			public OpenfireConfiguration build() {
				return new OpenfireConfiguration(this);
			}

			@Override
			protected Builder getThis() {
				return this;
			}
		}
	}





	@Override
	public void invitationReceived(XMPPConnection xmppConnection, MultiUserChat multiUserChat, EntityJid inviter, String reason, String password, Message message, MUCUser.Invite invitation)
	{
		try {
			String room = multiUserChat.getRoom().toString();
			Log.info("XMPPchatManager - invitationReceived ::::room: {}, inviter: {}, reason: {}, message:{}, password:{}",room ,inviter,reason,message,password);
			joinRoom(room, this.getUserJid().toString(),true);
		} catch (Exception e) {
			Log.error("invitationReceived", e);
		}
	}




	public Stanza handleParser(String xml)
	{
		Stanza stanza = null;

		try {
			stanza = PacketParserUtils.parseStanza(xml);
		}
		catch (Exception e) {
			Log.error("handleParser failed");
		}

		if (stanza != null) {
			invokeStanzaCollectorsAndNotifyRecvListeners(stanza);
		}

		return stanza;
	}
     
    }

ExamplePlugin:

public class ExamplePlugin implements Plugin
{
	
    private static final Logger Log = LoggerFactory.getLogger( ExamplePlugin.class );

    @Override
    public void initializePlugin( PluginManager manager, File pluginDirectory )
    {
        Log.info("Initializing Example Plugin");
    	XmppChatManager chatManager=XmppChatManager.createConnection("testbot", "testbot",false);
    	chatManager.addChatManagerInstance();
    	chatManager.addChatListener();
    	chatManager.addMUCChatManagerInstance();
    	chatManager.addMucInviteListener();
    	try {
			chatManager.joinChatroom(true);
		} catch (Exception e) {
			Log.error("Exception occured while joining chatroom",e);
		}
    }

    @Override
    public void destroyPlugin()
    {
        Log.info("Destroying Example Plugin");
    }
    
}

Debug Log:

2021.08.18 14:38:20 INFO [pool-52423-thread-1]: com.xmpphost.messaging.Messagingplugin - Initializing Example Plugin
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - connectInternal testbot
2021.08.18 14:38:21 INFO [pool-52423-thread-1]: OpenfireConnection - loginInternal testbot@xmpphost/testbot1133953346
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: org.jivesoftware.openfire.spi.RoutingTableImpl - Adding client route testbot@xmpphost/testbot1133953346
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket
<iq id='3Qreq-3' type='get'><query xmlns='jabber:iq:roster'></query></iq>

2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<iq type="result" id="3Qreq-3" to="testbot@xmpphost/testbot1133953346"><query xmlns="jabber:iq:roster" ver="-31284244"/></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<iq to='testbot@xmpphost/testbot1133953346' id='3Qreq-3' type='result'><query xmlns='jabber:iq:roster' ver='-31284244'></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket <presence id='3Qreq-5'><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.igniterealtime.org/projects/smack' ver='NfJ3flI83zSdUDzCEICtbypursw='/></presence>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<iq type="get" id="439-5042" to="testbot@xmpphost/testbot1133953346" from="xmpphost"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<iq to='testbot@xmpphost/testbot1133953346' from='xmpphost' id='439-5042' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: org.jivesoftware.openfire.spi.RoutingTableImpl - Adding client route testbot@xmpphost/testbot1133953346
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<presence id="3Qreq-5" from="testbot@xmpphost/testbot1133953346" to="testbot@xmpphost/testbot1133953346"><c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://www.igniterealtime.org/projects/smack" ver="NfJ3flI83zSdUDzCEICtbypursw="></c></presence>
2021.08.18 14:38:21 DEBUG [Smack Cached Executor]: OpenfireConnection - sendPacket <iq to='xmpphost' id='439-5042' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='client' name='Smack' type='pc'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/caps'/><feature var='vcard-temp'/><feature var='http://jabber.org/protocol/bytestreams'/><feature var='http://jabber.org/protocol/xhtml-im'/><feature var='jabber:x:data'/><feature var='jabber:iq:version'/><feature var='urn:xmpp:time'/><feature var='jabber:iq:privacy'/><feature var='urn:xmpp:ping'/><feature var='jabber:iq:last'/><feature var='http://jabber.org/protocol/commands'/><feature var='http://jabber.org/protocol/muc'/><feature var='http://jabber.org/protocol/xdata-validate'/><feature var='http://jabber.org/protocol/xdata-layout'/><feature var='urn:xmpp:receipts'/><feature var='http://jabber.org/protocol/disco#info'/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<presence to='testbot@xmpphost/testbot1133953346' from='testbot@xmpphost/testbot1133953346' id='3Qreq-5'><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.igniterealtime.org/projects/smack' ver='NfJ3flI83zSdUDzCEICtbypursw='/></presence>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket <presence id='3Qreq-9'><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.igniterealtime.org/projects/smack' ver='NfJ3flI83zSdUDzCEICtbypursw='/></presence>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<presence id="3Qreq-9" from="testbot@xmpphost/testbot1133953346" to="testbot@xmpphost/testbot1133953346"><c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://www.igniterealtime.org/projects/smack" ver="NfJ3flI83zSdUDzCEICtbypursw="></c></presence>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<presence to='testbot@xmpphost/testbot1133953346' from='testbot@xmpphost/testbot1133953346' id='3Qreq-9'><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.igniterealtime.org/projects/smack' ver='NfJ3flI83zSdUDzCEICtbypursw='/></presence>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket <iq to='xmpphost' id='3Qreq-11' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<iq type="result" id="3Qreq-11" from="xmpphost" to="testbot@xmpphost/testbot1133953346"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="server" name="Openfire Server" type="im"/><identity category="pubsub" type="pep"/><feature var="http://jabber.org/protocol/pubsub#retrieve-default"/><feature var="http://jabber.org/protocol/pubsub#purge-nodes"/><feature var="http://jabber.org/protocol/pubsub#subscription-options"/><feature var="http://jabber.org/protocol/pubsub#outcast-affiliation"/><feature var="msgoffline"/><feature var="jabber:iq:register"/><feature var="http://jabber.org/protocol/pubsub#delete-nodes"/><feature var="http://jabber.org/protocol/pubsub#config-node"/><feature var="http://jabber.org/protocol/pubsub#retrieve-items"/><feature var="http://jabber.org/protocol/pubsub#auto-create"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="http://jabber.org/protocol/pubsub#persistent-items"/><feature var="http://jabber.org/protocol/pubsub#create-and-configure"/><feature var="http://jabber.org/protocol/pubsub#retrieve-affiliations"/><feature var="urn:xmpp:time"/><feature var="http://jabber.org/protocol/pubsub#manage-subscriptions"/><feature var="urn:xmpp:bookmarks-conversion:0"/><feature var="http://jabber.org/protocol/offline"/><feature var="http://jabber.org/protocol/pubsub#auto-subscribe"/><feature var="http://jabber.org/protocol/pubsub#publish-options"/><feature var="urn:xmpp:carbons:2"/><feature var="http://jabber.org/protocol/address"/><feature var="http://jabber.org/protocol/pubsub#collections"/><feature var="http://jabber.org/protocol/pubsub#retrieve-subscriptions"/><feature var="vcard-temp"/><feature var="http://jabber.org/protocol/pubsub#subscribe"/><feature var="http://jabber.org/protocol/pubsub#create-nodes"/><feature var="http://jabber.org/protocol/pubsub#get-pending"/><feature var="urn:xmpp:blocking"/><feature var="http://jabber.org/protocol/pubsub#multi-subscribe"/><feature var="http://jabber.org/protocol/pubsub#presence-notifications"/><feature var="urn:xmpp:ping"/><feature var="http://jabber.org/protocol/pubsub#filtered-notifications"/><feature var="http://jabber.org/protocol/pubsub#item-ids"/><feature var="http://jabber.org/protocol/pubsub#meta-data"/><feature var="jabber:iq:roster"/><feature var="http://jabber.org/protocol/pubsub#instant-nodes"/><feature var="http://jabber.org/protocol/pubsub#modify-affiliations"/><feature var="http://jabber.org/protocol/pubsub"/><feature var="http://jabber.org/protocol/pubsub#publisher-affiliation"/><feature var="http://jabber.org/protocol/pubsub#access-open"/><feature var="jabber:iq:version"/><feature var="http://jabber.org/protocol/pubsub#retract-items"/><feature var="jabber:iq:privacy"/><feature var="jabber:iq:last"/><feature var="http://jabber.org/protocol/commands"/><feature var="http://jabber.org/protocol/pubsub#publish"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="jabber:iq:private"/><feature var="http://jabber.org/protocol/rsm"/><x xmlns="jabber:x:data" type="result"><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/network/serverinfo</value></field><field var="admin-addresses" type="list-multi"><value>xmpp:admin@xmpphost</value><value>mailto:admin@xmpphost.com</value></field></x><x xmlns="jabber:x:data" type="result"><field var="FORM_TYPE" type="hidden"><value>urn:xmpp:dataforms:softwareinfo</value></field><field var="os"><value>Windows Server 2016</value></field><field var="os_version"><value>10.0 amd64 - Java 1.8.0_202</value></field><field var="software"><value>Openfire</value></field><field var="software_version"><value>4.6.4</value></field></x></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<iq to='testbot@xmpphost/testbot1133953346' from='xmpphost' id='3Qreq-11' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='server' name='Openfire Server' type='im'/><identity category='pubsub' type='pep'/><feature var='http://jabber.org/protocol/pubsub#retrieve-default'/><feature var='http://jabber.org/protocol/pubsub#purge-nodes'/><feature var='http://jabber.org/protocol/pubsub#subscription-options'/><feature var='http://jabber.org/protocol/pubsub#outcast-affiliation'/><feature var='msgoffline'/><feature var='jabber:iq:register'/><feature var='http://jabber.org/protocol/pubsub#delete-nodes'/><feature var='http://jabber.org/protocol/pubsub#config-node'/><feature var='http://jabber.org/protocol/pubsub#retrieve-items'/><feature var='http://jabber.org/protocol/pubsub#auto-create'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/pubsub#persistent-items'/><feature var='http://jabber.org/protocol/pubsub#create-and-configure'/><feature var='http://jabber.org/protocol/pubsub#retrieve-affiliations'/><feature var='urn:xmpp:time'/><feature var='http://jabber.org/protocol/pubsub#manage-subscriptions'/><feature var='urn:xmpp:bookmarks-conversion:0'/><feature var='http://jabber.org/protocol/offline'/><feature var='http://jabber.org/protocol/pubsub#auto-subscribe'/><feature var='http://jabber.org/protocol/pubsub#publish-options'/><feature var='urn:xmpp:carbons:2'/><feature var='http://jabber.org/protocol/address'/><feature var='http://jabber.org/protocol/pubsub#collections'/><feature var='http://jabber.org/protocol/pubsub#retrieve-subscriptions'/><feature var='vcard-temp'/><feature var='http://jabber.org/protocol/pubsub#subscribe'/><feature var='http://jabber.org/protocol/pubsub#create-nodes'/><feature var='http://jabber.org/protocol/pubsub#get-pending'/><feature var='urn:xmpp:blocking'/><feature var='http://jabber.org/protocol/pubsub#multi-subscribe'/><feature var='http://jabber.org/protocol/pubsub#presence-notifications'/><feature var='urn:xmpp:ping'/><feature var='http://jabber.org/protocol/pubsub#filtered-notifications'/><feature var='http://jabber.org/protocol/pubsub#item-ids'/><feature var='http://jabber.org/protocol/pubsub#meta-data'/><feature var='jabber:iq:roster'/><feature var='http://jabber.org/protocol/pubsub#instant-nodes'/><feature var='http://jabber.org/protocol/pubsub#modify-affiliations'/><feature var='http://jabber.org/protocol/pubsub'/><feature var='http://jabber.org/protocol/pubsub#publisher-affiliation'/><feature var='http://jabber.org/protocol/pubsub#access-open'/><feature var='jabber:iq:version'/><feature var='http://jabber.org/protocol/pubsub#retract-items'/><feature var='jabber:iq:privacy'/><feature var='jabber:iq:last'/><feature var='http://jabber.org/protocol/commands'/><feature var='http://jabber.org/protocol/pubsub#publish'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='jabber:iq:private'/><feature var='http://jabber.org/protocol/rsm'/><x xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' type='hidden'><value>http://jabber.org/network/serverinfo</value></field><field var='admin-addresses' type='list-multi'><value>xmpp:admin@xmpphost</value><value>mailto:admin@xmpphost.com</value></field></x><x xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' type='hidden'><value>urn:xmpp:dataforms:softwareinfo</value></field><field var='os'><value>Windows Server 2016</value></field><field var='os_version'><value>10.0 amd64 - Java 1.8.0_202</value></field><field var='software'><value>Openfire</value></field><field var='software_version'><value>4.6.4</value></field></x></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket <iq to='xmpphost' id='3Qreq-13' type='get'><query xmlns='http://jabber.org/protocol/disco#items'></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<iq type="result" id="3Qreq-13" from="xmpphost" to="testbot@xmpphost/testbot1133953346"><query xmlns="http://jabber.org/protocol/disco#items"><item jid="search.xmpphost" name="User Search"/><item jid="conference.xmpphost" name="Public Chatrooms"/><item jid="pubsub.xmpphost" name="Publish-Subscribe service"/><item jid="proxy.xmpphost" name="Socks 5 Bytestreams Proxy"/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<iq to='testbot@xmpphost/testbot1133953346' from='xmpphost' id='3Qreq-13' type='result'><query xmlns='http://jabber.org/protocol/disco#items'><item jid='search.xmpphost' name='User Search'/><item jid='conference.xmpphost' name='Public Chatrooms'/><item jid='pubsub.xmpphost' name='Publish-Subscribe service'/><item jid='proxy.xmpphost' name='Socks 5 Bytestreams Proxy'/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket <iq to='search.xmpphost' id='3Qreq-15' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<iq type="result" id="3Qreq-15" from="search.xmpphost" to="testbot@xmpphost/testbot1133953346"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="directory" type="user" name="User Search"/><feature var="jabber:iq:search"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/rsm"/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<iq to='testbot@xmpphost/testbot1133953346' from='search.xmpphost' id='3Qreq-15' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='directory' name='User Search' type='user'/><feature var='jabber:iq:search'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/rsm'/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket <iq to='conference.xmpphost' id='3Qreq-17' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<iq type="result" id="3Qreq-17" from="conference.xmpphost" to="testbot@xmpphost/testbot1133953346"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="conference" name="Public Chatrooms" type="text"/><identity category="directory" name="Public Chatroom Search" type="chatroom"/><feature var="http://jabber.org/protocol/muc"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="jabber:iq:search"/><feature var="https://xmlns.zombofant.net/muclumbus/search/1.0"/><feature var="http://jabber.org/protocol/rsm"/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<iq to='testbot@xmpphost/testbot1133953346' from='conference.xmpphost' id='3Qreq-17' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='conference' name='Public Chatrooms' type='text'/><identity category='directory' name='Public Chatroom Search' type='chatroom'/><feature var='http://jabber.org/protocol/muc'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='jabber:iq:search'/><feature var='https://xmlns.zombofant.net/muclumbus/search/1.0'/><feature var='http://jabber.org/protocol/rsm'/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket <iq to='pubsub.xmpphost' id='3Qreq-19' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<iq type="result" id="3Qreq-19" from="pubsub.xmpphost" to="testbot@xmpphost/testbot1133953346"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="pubsub" name="Publish-Subscribe service" type="service"/><feature var="http://jabber.org/protocol/pubsub"/><feature var="http://jabber.org/protocol/pubsub#access-open"/><feature var="http://jabber.org/protocol/pubsub#collections"/><feature var="http://jabber.org/protocol/pubsub#config-node"/><feature var="http://jabber.org/protocol/pubsub#create-and-configure"/><feature var="http://jabber.org/protocol/pubsub#create-nodes"/><feature var="http://jabber.org/protocol/pubsub#delete-nodes"/><feature var="http://jabber.org/protocol/pubsub#get-pending"/><feature var="http://jabber.org/protocol/pubsub#instant-nodes"/><feature var="http://jabber.org/protocol/pubsub#item-ids"/><feature var="http://jabber.org/protocol/pubsub#meta-data"/><feature var="http://jabber.org/protocol/pubsub#modify-affiliations"/><feature var="http://jabber.org/protocol/pubsub#manage-subscriptions"/><feature var="http://jabber.org/protocol/pubsub#multi-subscribe"/><feature var="http://jabber.org/protocol/pubsub#outcast-affiliation"/><feature var="http://jabber.org/protocol/pubsub#persistent-items"/><feature var="http://jabber.org/protocol/pubsub#presence-notifications"/><feature var="http://jabber.org/protocol/pubsub#publish"/><feature var="http://jabber.org/protocol/pubsub#publisher-affiliation"/><feature var="http://jabber.org/protocol/pubsub#purge-nodes"/><feature var="http://jabber.org/protocol/pubsub#retract-items"/><feature var="http://jabber.org/protocol/pubsub#retrieve-affiliations"/><feature var="http://jabber.org/protocol/pubsub#retrieve-default"/><feature var="http://jabber.org/protocol/pubsub#retrieve-items"/><feature var="http://jabber.org/protocol/pubsub#retrieve-subscriptions"/><feature var="http://jabber.org/protocol/pubsub#subscribe"/><feature var="http://jabber.org/protocol/pubsub#subscription-options"/><feature var="http://jabber.org/protocol/pubsub#publish-options"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="urn:xmpp:bookmarks-conversion:0"/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<iq to='testbot@xmpphost/testbot1133953346' from='pubsub.xmpphost' id='3Qreq-19' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='pubsub' name='Publish-Subscribe service' type='service'/><feature var='http://jabber.org/protocol/pubsub'/><feature var='http://jabber.org/protocol/pubsub#access-open'/><feature var='http://jabber.org/protocol/pubsub#collections'/><feature var='http://jabber.org/protocol/pubsub#config-node'/><feature var='http://jabber.org/protocol/pubsub#create-and-configure'/><feature var='http://jabber.org/protocol/pubsub#create-nodes'/><feature var='http://jabber.org/protocol/pubsub#delete-nodes'/><feature var='http://jabber.org/protocol/pubsub#get-pending'/><feature var='http://jabber.org/protocol/pubsub#instant-nodes'/><feature var='http://jabber.org/protocol/pubsub#item-ids'/><feature var='http://jabber.org/protocol/pubsub#meta-data'/><feature var='http://jabber.org/protocol/pubsub#modify-affiliations'/><feature var='http://jabber.org/protocol/pubsub#manage-subscriptions'/><feature var='http://jabber.org/protocol/pubsub#multi-subscribe'/><feature var='http://jabber.org/protocol/pubsub#outcast-affiliation'/><feature var='http://jabber.org/protocol/pubsub#persistent-items'/><feature var='http://jabber.org/protocol/pubsub#presence-notifications'/><feature var='http://jabber.org/protocol/pubsub#publish'/><feature var='http://jabber.org/protocol/pubsub#publisher-affiliation'/><feature var='http://jabber.org/protocol/pubsub#purge-nodes'/><feature var='http://jabber.org/protocol/pubsub#retract-items'/><feature var='http://jabber.org/protocol/pubsub#retrieve-affiliations'/><feature var='http://jabber.org/protocol/pubsub#retrieve-default'/><feature var='http://jabber.org/protocol/pubsub#retrieve-items'/><feature var='http://jabber.org/protocol/pubsub#retrieve-subscriptions'/><feature var='http://jabber.org/protocol/pubsub#subscribe'/><feature var='http://jabber.org/protocol/pubsub#subscription-options'/><feature var='http://jabber.org/protocol/pubsub#publish-options'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='urn:xmpp:bookmarks-conversion:0'/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket <iq to='proxy.xmpphost' id='3Qreq-21' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<iq type="result" id="3Qreq-21" from="proxy.xmpphost" to="testbot@xmpphost/testbot1133953346"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="proxy" name="SOCKS5 Bytestreams Service" type="bytestreams"/><feature var="http://jabber.org/protocol/bytestreams"/><feature var="http://jabber.org/protocol/disco#info"/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<iq to='testbot@xmpphost/testbot1133953346' from='proxy.xmpphost' id='3Qreq-21' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='proxy' name='SOCKS5 Bytestreams Service' type='bytestreams'/><feature var='http://jabber.org/protocol/bytestreams'/><feature var='http://jabber.org/protocol/disco#info'/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket <iq to='conference.xmpphost' id='3Qreq-23' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<iq type="result" id="3Qreq-23" from="conference.xmpphost" to="testbot@xmpphost/testbot1133953346"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="conference" name="Public Chatrooms" type="text"/><identity category="directory" name="Public Chatroom Search" type="chatroom"/><feature var="http://jabber.org/protocol/muc"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="jabber:iq:search"/><feature var="https://xmlns.zombofant.net/muclumbus/search/1.0"/><feature var="http://jabber.org/protocol/rsm"/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<iq to='testbot@xmpphost/testbot1133953346' from='conference.xmpphost' id='3Qreq-23' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='conference' name='Public Chatrooms' type='text'/><identity category='directory' name='Public Chatroom Search' type='chatroom'/><feature var='http://jabber.org/protocol/muc'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='jabber:iq:search'/><feature var='https://xmlns.zombofant.net/muclumbus/search/1.0'/><feature var='http://jabber.org/protocol/rsm'/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket <iq to='conference.xmpphost' id='3Qreq-25' type='get'><query xmlns='http://jabber.org/protocol/disco#items'></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<iq type="result" id="3Qreq-25" from="conference.xmpphost" to="testbot@xmpphost/testbot1133953346"><query xmlns="http://jabber.org/protocol/disco#items"><item jid="testroom@conference.xmpphost" name="testroom"/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<iq to='testbot@xmpphost/testbot1133953346' from='conference.xmpphost' id='3Qreq-25' type='result'><query xmlns='http://jabber.org/protocol/disco#items'><item jid='testroom@conference.xmpphost' name='testroom'/></query></iq>
2021.08.18 14:38:21 INFO [pool-52423-thread-1]: OpenfireConnection - hostedRooms::: jidtestroom@conference.xmpphost nametestroom
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - joinRoom testroom@conference.xmpphost testbot
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket <iq to='conference.xmpphost' id='3Qreq-28' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<iq type="result" id="3Qreq-28" from="conference.xmpphost" to="testbot@xmpphost/testbot1133953346"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="conference" name="Public Chatrooms" type="text"/><identity category="directory" name="Public Chatroom Search" type="chatroom"/><feature var="http://jabber.org/protocol/muc"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="jabber:iq:search"/><feature var="https://xmlns.zombofant.net/muclumbus/search/1.0"/><feature var="http://jabber.org/protocol/rsm"/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<iq to='testbot@xmpphost/testbot1133953346' from='conference.xmpphost' id='3Qreq-28' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='conference' name='Public Chatrooms' type='text'/><identity category='directory' name='Public Chatroom Search' type='chatroom'/><feature var='http://jabber.org/protocol/muc'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='jabber:iq:search'/><feature var='https://xmlns.zombofant.net/muclumbus/search/1.0'/><feature var='http://jabber.org/protocol/rsm'/></query></iq>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - sendPacket <presence to='testroom@conference.xmpphost/testbot' id='3Qreq-27'><x xmlns='http://jabber.org/protocol/muc'></x><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.igniterealtime.org/projects/smack' ver='NfJ3flI83zSdUDzCEICtbypursw='/></presence>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: org.jivesoftware.openfire.muc.spi.LocalMUCRoom - User 'testbot@xmpphost/testbot1133953346' attempts to join room 'testroom@conference.xmpphost' using nickname 'testbot'.
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: org.jivesoftware.openfire.muc.spi.LocalMUCRoom - User 'testbot@xmpphost/testbot1133953346' role and affiliation in room 'testroom@conference.xmpphost are determined to be: participant, member
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: org.jivesoftware.openfire.muc.spi.LocalMUCRoom - Checking all preconditions for user 'testbot@xmpphost/testbot1133953346' to join room 'testroom@conference.xmpphost'.
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: org.jivesoftware.openfire.muc.spi.LocalMUCRoom - All preconditions for user 'testbot@xmpphost/testbot1133953346' to join room 'testroom@conference.xmpphost' have been met. User can join the room.
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: org.jivesoftware.openfire.muc.spi.LocalMUCRoom - Adding user 'testbot@xmpphost/testbot1133953346' as an occupant of room 'testroom@conference.xmpphost' using nickname 'testbot'.
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: org.jivesoftware.openfire.muc.spi.FMUCHandler - (room: 'testroom@conference.xmpphost'): FMUC disabled, skipping FMUC join.
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<presence to="testbot@xmpphost/testbot1133953346" id="i18F5-286" from="testroom@conference.xmpphost/rahul"><c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://www.igniterealtime.org/projects/smack" ver="9LJego/jm+LdNGOFm5gPTMPapl0="></c><x xmlns="http://jabber.org/protocol/muc#user"><item jid="rahul@xmpphost/DESKTOP-I5P3IVI" affiliation="member" role="participant"/></x></presence>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<presence to='testbot@xmpphost/testbot1133953346' from='testroom@conference.xmpphost/rahul' id='i18F5-286'><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.igniterealtime.org/projects/smack' ver='9LJego/jm+LdNGOFm5gPTMPapl0='/><x xmlns='http://jabber.org/protocol/muc#user'><item affiliation='member' jid='rahul@xmpphost/DESKTOP-I5P3IVI' role='participant'></item></x></presence>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: org.jivesoftware.openfire.muc.spi.FMUCHandler - (room: 'testroom@conference.xmpphost'): FMUC disabled, skipping FMUC propagation.
2021.08.18 14:38:21 DEBUG [ForkJoinPool.commonPool-worker-2]: org.jivesoftware.openfire.muc.spi.LocalMUCRoom - Broadcasting presence update in room testroom for occupant testroom@conference.xmpphost/testbot
2021.08.18 14:38:21 DEBUG [NioProcessor-2]: org.apache.mina.filter.executor.OrderedThreadPoolExecutor - Adding event MESSAGE_SENT to session 25
Queue : [MESSAGE_SENT, ]

2021.08.18 14:38:21 DEBUG [ForkJoinPool.commonPool-worker-2]: OpenfireConnection - SmackConnection - deliverRawText
<presence to="testbot@xmpphost/testbot1133953346" id="3Qreq-27" from="testroom@conference.xmpphost/testbot"><c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://www.igniterealtime.org/projects/smack" ver="NfJ3flI83zSdUDzCEICtbypursw="></c><x xmlns="http://jabber.org/protocol/muc#user"><item jid="testbot@xmpphost/testbot1133953346" affiliation="member" role="participant"/><status code="110"/><status code="100"/></x></presence>
2021.08.18 14:38:21 DEBUG [socket_c2s-thread-3]: org.apache.mina.core.filterchain.IoFilterEvent - Firing a MESSAGE_SENT event for session 25
2021.08.18 14:38:21 DEBUG [socket_c2s-thread-3]: org.apache.mina.core.filterchain.IoFilterEvent - Event MESSAGE_SENT has been fired for session 25
2021.08.18 14:38:21 DEBUG [ForkJoinPool.commonPool-worker-2]: OpenfireConnection - Received packet:
<presence to='testbot@xmpphost/testbot1133953346' from='testroom@conference.xmpphost/testbot' id='3Qreq-27'><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.igniterealtime.org/projects/smack' ver='NfJ3flI83zSdUDzCEICtbypursw='/><x xmlns='http://jabber.org/protocol/muc#user'><item affiliation='member' jid='testbot@xmpphost/testbot1133953346' role='participant'></item><status code='100'/><status code='110'/></x></presence>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<message xmlns="jabber:client" to="testbot@xmpphost/testbot1133953346" id="i18F5-289" type="groupchat" from="testroom@conference.xmpphost/rahul"><body>HI this is test message</body><x xmlns="jabber:x:event"><offline/><delivered/><displayed/><composing/></x><stanza-id xmlns="urn:xmpp:sid:0" id="6b4be561-896a-4c27-9d85-852be488c544" by="testroom@conference.xmpphost"/><addresses xmlns="http://jabber.org/protocol/address"><address type="ofrom" jid="rahul@xmpphost"/></addresses><delay xmlns="urn:xmpp:delay" stamp="2021-08-18T09:06:00.571Z" from="rahul@xmpphost/DESKTOP-I5P3IVI"/></message>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<message to='testbot@xmpphost/testbot1133953346' from='testroom@conference.xmpphost/rahul' id='i18F5-289' type='groupchat'><body>HI this is test message</body><x xmlns="jabber:x:event"><offline/><delivered/><displayed/><composing/></x><stanza-id xmlns='urn:xmpp:sid:0' id='6b4be561-896a-4c27-9d85-852be488c544' by='testroom@conference.xmpphost'></stanza-id><addresses xmlns='http://jabber.org/protocol/address'><address type='ofrom' jid='rahul@xmpphost'/></addresses><delay xmlns='urn:xmpp:delay' stamp='2021-08-18T09:06:00.571+00:00' from='rahul@xmpphost/DESKTOP-I5P3IVI'></delay></message>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - SmackConnection - deliverRawText
<message xmlns="jabber:client" type="groupchat" from="testroom@conference.xmpphost" to="testbot@xmpphost/testbot1133953346"><subject></subject><delay xmlns="urn:xmpp:delay" stamp="2021-08-18T09:04:23.045Z"/></message>
2021.08.18 14:38:21 DEBUG [pool-52423-thread-1]: OpenfireConnection - Received packet:
<message to='testbot@xmpphost/testbot1133953346' from='testroom@conference.xmpphost' type='groupchat'><subject/><delay xmlns='urn:xmpp:delay' stamp='2021-08-18T09:04:23.045+00:00'></delay></message>

Whenever I am deploying I am getting these logs(I mean history packets in the log), I am not getting what is wrong in the code.