Comments (4)
This needs a bit more background info. Are you using jawampa client or server? And with which peer are you testing?
From a short look at the code I don't see an issue:
The client sets exclude_me only to false when the DontExcludeMe flag is set: https://github.com/Matthias247/jawampa/blob/master/jawampa-core/src/main/java/ws/wamp/jawampa/client/SessionEstablishedState.java#L425-L427
The router will by default skip the publisher. Only when the exclude_me flag is set to false it won't skip it: https://github.com/Matthias247/jawampa/blob/master/jawampa-core/src/main/java/ws/wamp/jawampa/WampRouter.java#L871-L880
from jawampa.
@Matthias247 I'm using:
jawampa-core:0.4.0
netty:0.4.0
With the latest Crossbar server. The client is subscribed to a specific event and when it publishes a message to it the sender still receives the message as if the dontExcludeMe flag was set to true.
from jawampa.
If this is the case then it is a Crossbar issue.
If you don't set DontExcludeMe then jawampa will send the publish message without an exclude_me: false
option to the router. And the router should then not send the event to the publisher.
Or do you probably have multiple clients? One which calls publish and the other one receives the event? In such a scenario exclude_me would not affect the second client.
Oh, and jawampa 0.4.1. is the current version.
from jawampa.
@Matthias247 Yes I do have multiple clients that are subscribed to the same topic and all of them are supposed to receive the publication right.
I'm just talking about the same client which publishes the message. I will look even more deeper into it and update this thread as soon as possible. For now I suggest keeping it open in case someone has the same issue.
from jawampa.
Related Issues (20)
- State not changed to disconnected when connection is lost HOT 1
- Poloniex sequences HOT 13
- ApplicationError(wamp.error.invalid_uri, [], {}) even when URI is completely valid HOT 1
- How can I send a self-defined Java-class object(client) to fit a C++ class (server) by RPC HOT 1
- Web Connection works well on emulator but fail on real devices HOT 3
- Android < 5.0, TLSv1.2 and jawampa
- Problem with varargs in Publish method HOT 2
- Getting publication succeeded callback while network is disconnected HOT 2
- Subscription Id / Event History
- Convert to rxjava 2. Any plans?
- Subscription SocketTimeoutException
- Application throws java.lang.ClassNotFoundException: jdk.internal.misc.Unsafe exception during the creation of the client instance HOT 1
- Can we publish topic on session connection
- Android doesn't work HOT 1
- Correct way to make a client run
- wss secure websocket connection problem
- How to influence the json encoding/decoding? JsonViews possible? HOT 1
- Jawampa crashes when connections is closed. HOT 3
- Authentication in jawampa
- Cannot connect to server only on Android 7.0
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 jawampa.