We're developing a Java app, we have installed Openfire 3.7.1, Fastpath 4.2.0 and Webchat 4.0.2, and our agents use Spark 2.6.3. We have public queues where customers can chat with our agents, the Java app we are developing is a simple form to store the information recived from customers, and store it into a DB. We want to get the chatID and the queueName (because an agent may be in more than one queue) of the chat where the agent is talking with the customer in order to associate the collected information with the chat (something like a foreign key), to having a DB registry of a chat know which is the information received or having the information know to which chat is associated to.
We have search in Openfire, Smack and Spark Javadoc APIs:
Spark plugin API
Also is a discussión barely similar but not what we want (http://community.igniterealtime.org/message/132025#132025)
We have seem methods like getCurrentChats or getSessionID in some classes but we can't fing how to use it.
Anybody can give us an aid?
Thanks in advance.