Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

(A)SMACK deactivate acknowledges in messages

$
0
0

I'm using Asmack 0.8.9 for communicating with openfire.

I'm using the BOSHConnection object for establishing a connection and  everything works fine until i want to send a custom message.

I want to send a custom packet over this connection.

 

 

 

boshconnection.sendPacket(packet); //packet is org.jivesoftware.smack.packet;

 

 

 

 

I get something like this:

<body ack='76257246291152' rid='76257246291174' sid='7a823168' xmlns='http://jabber.org/protocol/httpbind'> <message to="1ce8c6a3-4c94-4ff9-860c-e285217d8897@192.168.0.202" xmlns="jabber:client"><body> this body is empty for your imagination </body></message></body> ..... 

 

 

 

 

I want to deactivate the "ack=...." field out of the body. Can somebody tell me how this is possible via SMACK/ASMACK ?


Viewing all articles
Browse latest Browse all 10742

Trending Articles