Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11593

Re: How to implement message delivery reporting using smack

$
0
0

I realize this is a very old post but I just hit this problem as well and I don't know if I should open a new thread or not.

 

Anyway, I also need to receive a DLR (delivery report) with smack. So far what I have done is use a PacketListener:

 

    this.connection.addAsyncPacketListener(new PacketListener() {

      @Override

      public void processPacket(Stanza stanza) throws NotConnectedException {

        System.out.println(stanza);

      }}, null);

 

But from what I'm seeing, all I get is a correlator message and not the DLR itself. Note that I'm using smack 4.1.0 and my server is an ejabberd server. If anyone has any ideas on how to solve this it would be greatly appreciated.


Viewing all articles
Browse latest Browse all 11593

Trending Articles