Comments (8)
You configured strict
delivery rules, therefore we are following Message delivery rules to the dot:
For a message stanza of type "normal", "groupchat", or "headline", the server MUST either (a) silently ignore the stanza or (b) return an error stanza to the sender, which SHOULD be .
You can try setting message type to chat
from tigase-server.
The type of message was chat. But the message was not stored in the database.
from tigase-server.
The from of message was xxx@yyy/pc, and the to of the message was bbb@yyy/phone,
from tigase-server.
The toJid of the message was a full JID, such as:
JID fromJid = JID.jidInstance("A", "xmpp.server");
JID toJid = JID.jidInstance("B", "xmpp.server", "phone");
So, when the client B was offline, i need the message was stored in the tig_offline_message with resource.
Because the message would not be handled within some client, such as pc, some client (such as phone) would handle the message.
However, when the phone client was not online, the message would be stored in the tig_offline_message.
The message would resent to the phone client until the phone client was online.
from tigase-server.
Thank you for the detailed description. We will investigate it further and let you know the outcome.
from tigase-server.
As the linked specification says:
For a message stanza of type "chat":
- If there is no available or connected resource, the server MUST either (a) store the message offline for later delivery or (b) return an error stanza to the sender, which SHOULD be .
For the strict
configuration we opted for the (b)
option. If you want messages stored for offlien delivery you should use inteligent
configuration of 'delivery-rules'
from tigase-server.
For inteligent configuration, it was possible that the message would resent the pc client without handling the message, when the pc client was online. However, the pc client did not handle the message, so the message would be lost. But i just wanted the phone client handled the message.
So, how can i solve it? Thanks a lot!
from tigase-server.
Best way to handle it would be to use both/or any of the:
from tigase-server.
Related Issues (20)
- problem with DefaultClusteringStrategy HOT 4
- how to completely disable pubsub? HOT 2
- Error trying to install Tigase server on GCP machine HOT 2
- dockerfile HOT 1
- tig_ma_msgs can`t insert records HOT 2
- Problems with Tigase after default initialization using Spark connection HOT 3
- is possibile to configure update-login-time-query? HOT 3
- maven build error HOT 7
- upgrade tigase from 7.1.5 to 8.2.2 HOT 29
- Secondary development online and offline messages HOT 6
- 用sprak连接tigase 8.2.2版本服务无法连接
- I tried to connect to tigase using smack and spark, but encountered the following error
- XEP-0485: PubSub Server Information support HOT 5
- Accound Disabled HOT 1
- Readme Quickstart Link broken HOT 1
- The BOSH port denies the connection HOT 5
- Can's access http://my-server-ip:8080/setup/ HOT 5
- 8.3.1 version HOT 1
- Inquiry About Licensing Options for Triplecyber HOT 2
- Cannot link to server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tigase-server.