Questions tagged [subscriber]
272 questions
4
votes
2 answers
Symfony getData event subscriber is null
I know this question has been asked already a couple of times, but there hasn't been an answer that actually helped me solving my problem.
I've got three EventSubscribers for three Dropdowns who are dependent on each other.
So in my FormType I say:
…

sonja
- 924
- 1
- 21
- 52
4
votes
1 answer
ROS subscriber callback missing messages
Summary: I have a node publishing messages at ~300hz, but a callback subscribing to the topic in another node only gets called at ~25hz. The spinOnce in the subscriber node is being called at ~700hz, so I don't know why it's missing…

Anup
- 103
- 1
- 2
- 10
4
votes
2 answers
How to test doctrine EventListener/Subscriber without any entity
I created an AuditLoggerBundle* which has a service that uses Doctrine Events (prePersist, preUpdate and preRemove) in order to create a new entry in an audit_log table (AuditLog Entity).
The bundle works fine with my other bundles but I would like…

Romain Masclef
- 121
- 1
- 8
4
votes
1 answer
Global errorHandling solution with RxJava only when onError is not implemented
I have a general error handling solution in my app which should be invoked whenever onError is called. Instead of implementing onError for every subscribe I have done this inside the Application…

maclir
- 3,218
- 26
- 39
4
votes
1 answer
Lazy pub/sub in zeromq, only get last message
I'am trying to implement a lazy subscriber on zeromq from the example wuclient/wuserver.
The client is way slower than the server, so it must get only the last sent message by the server.
So far the only way i've found to do that, is by…

Mathieu Westphal
- 2,544
- 1
- 19
- 33
4
votes
2 answers
How to get the number of JMS messages in a Topic
How do I get the number of JMS messages waiting to be consumed by a specific JMS message subscriber? I use the Topic model (publish/subscribe) and not the Queue model.
I want my MDB (message driven bean) to be able to figure out this information…
Rickard
4
votes
4 answers
What are the Aweber API Variables $account_id and $list_id?
You can check here:
https://labs.aweber.com/docs/code_samples/subs/create
The script to add a new subscriber to the list via api requires those two pieces info...only I cannot figure out for the life of me what those two variables are!! I've beaten…

Jared Smith
- 283
- 4
- 11
4
votes
2 answers
How to create/preconfigure durable subscriber(s) in activemq.xml so that these subscriptions are ready upon ActiveMQ starts up?
How to create/preconfigure durable subscriber(s) in activemq.xml so that these subscriptions are ready upon ActiveMQ comes up? As if subscribers are in the offline state.
We're expecting a fixed (yet configurable) number of known subscribers.
Wanna…

user1500049
- 993
- 7
- 15
4
votes
1 answer
SQL Server replication using FTP
I have:
SQL A - publisher (SQL 2008 R2 Dev)
SQL B - subscriber (SQL 2008 R2 Standard)
SQL A and SQL B are on different networks, not direct connection is allowed.
I enable FTP publishing on SQL A.
Created subscription on SQL B to get files from…

Ivan
- 103
- 1
- 7
3
votes
2 answers
Magento set subscriber first & last name
When someone subscribes to the Magento newsletter I also want them to fill in their first and last name. I have added the two input fields to the form. The field names are 'firstname' and 'lastname'.
I'm going to extend…

Adam Moss
- 5,582
- 13
- 46
- 64
3
votes
0 answers
typeorm subscribers are fired before they are committed
There are several issues on the typeorm repo regarding afterUpdate/afterInsert/etc s.t. the database entity is not persisted at the time the hook is called.
E.G. https://github.com/typeorm/typeorm/issues/6122
My use-case is to listen to the event on…

akash
- 31
- 3
3
votes
5 answers
How to return an Observable in angular 4?
I have this method inside a authProvider provider class:
getUser() {
return this.afAuth.authState.subscribe(user => {
return user;
});
}
I would like to subscribe to it in a different class, something like:…

Patrioticcow
- 26,422
- 75
- 217
- 337
3
votes
1 answer
Is there any better way to track subscriber changes?
Lets say we have a Client class with method to send messages to server queue. It is also subscribed to queue and server will send a notification back to all clients when it receives a new message from any of registered clients:
public class Client…

dmkov
- 334
- 2
- 11
3
votes
1 answer
RXSwift with one time subscriber
I want to subscribe to an observable, but right after the first element, I want to dispose the subscriber.
Is there some default way for that?
If not, how would you solve this?
I cannot change the observable, by the way.

Artur Hellmann
- 315
- 4
- 21
3
votes
1 answer
understanding observers and subscibers angular2
long time lurker - first time poster.
This is a lot of theory, so bear with me.
I am working to mentally model the idea of an observable, observer and a subscriber (rxjs and angular2) and wanted to make sure I am on the right track.
I currently…

Nathan King
- 45
- 1
- 5