Questions tagged [subscriber]
272 questions
2
votes
1 answer
How to access request data in subscriber in shopware 6
I have built a subscriber in my plugin for Shopware 6 that subscribes to 'framework.validation.address.create' => 'onAddressCreation' event in order to add extra validation definition. But I also need to be able to access request data in the…

Radix Salvilines
- 386
- 5
- 16
2
votes
3 answers
How do I get the value from this API?
getCoinPrice(coinName: string) {
return this._http
.get(
`https://min-api.cryptocompare.com/data/pricemulti?fsyms=${coinName}&tsyms=EUR`
).pipe(map((result) => (result)));
JSON from the link with "BTC" as coinName is: …

Quentin
- 25
- 4
2
votes
2 answers
Is there an order state change event in Shopware 6?
Orders in Shopware 6 have these states:

David
- 553
- 6
- 21
2
votes
1 answer
Symfony: Logging all Mails created by Mailer
For various reasons I want/need to log all emails sent through my website which runs on Symfony 5.
What I have so far is a subscriber that creates an Entity of type EmailLogEntry when a MessageEvent class is created (at least that's what I…

fun2life
- 139
- 1
- 11
2
votes
2 answers
How to pass values from one subscriber's callback function to another in rosnode
My question is how to pass a value from one subscriber's callback function to another.
does this make sense ?
import rospy
from sensor_msgs.msg import LaserScan, Int32
from xxx2.msg import xxyy2
global x
x = None
def callback2(data):
…

Bartek Czwartek
- 23
- 1
- 4
2
votes
1 answer
How to access a public variable of subscriber class in the main function?
I want to access listener::flow_message (a public variable) which I defined in the subscriber class, in the main() function of my code. in the below code I just did a simple printing of the flow_message parameter to show the problem.
I changed the…

AMIR REZA SADEQI
- 409
- 2
- 5
- 13
2
votes
1 answer
Swift Combine: Alternatives too eraseToAnySubscriber?
I am trying to use Combine to update a colour when my red, green or blue variables change. The examples I have looked at use sink() and that seems appropriate for me but eraseToAnySubscriber is MIA and I can't find an alternate.
What seems to work…

Michael Salmon
- 1,056
- 7
- 15
2
votes
1 answer
Ros Subscriber processes old message even with set buff_size
I am using ROS, Ubuntu 16.04 and Python3.
I have a publisher that publishes a custom message at 7.5 Hz. It contains 2 pointclouds and an image. One message has the size of around 2.8 MB, the average bandwith is 21.64 MB/s
I have a subscriber that…

Peter111
- 803
- 3
- 11
- 21
2
votes
1 answer
RTI DDS two applications publishing data on same domain. When one application closes and reopens it looses the data. How to solve?
I have two publisher and subscriber application.
App1 -> publish -> Student (1,ABC), Student(2,EFG).
After it I run second application. both application subscribe and publish on same domain
App2 able subscribe Student (1,ABC), Student(2,EFG) which…

Rohit kshirsagar
- 21
- 2
2
votes
1 answer
Can I add listeners/publisher subscriber to JAXB objects?
I have a multithreaded application using JAXB. The JAXB object represent state of other system hardware. I have a thread monitoring the system hardware, and it updates the JAXB objects with the setters to update the state.
I have another chunk of…

Matt Brown
- 435
- 4
- 17
2
votes
2 answers
Angular Observable returns Subscriber instead of JSON
I have a function
async submit(form) {
const selectedPackage = await this.packages.toPromise().then(result => {
result.forEach(element => {
if (element._id === form.package) {
return element;
}
});
}); …

Nimatullah Razmjo
- 1,831
- 4
- 22
- 39
2
votes
1 answer
I think I'm using BehaviorSubject subscriber incorrectly, can someone show me a better way to call data from my API in Angular2?
I have a couple of navigation buttons in an Angular app. What I'm trying to do is remove "Prev" on the first page and "Next" on the last page.
All I want to do is set two booleans that say whether it's the first or last page.
Trouble is I haven't…

OrderAndChaos
- 3,547
- 2
- 30
- 57
2
votes
0 answers
FormGroup valueChange filter changed values in deep object
I am trying to filter only changed values over FormGroup when I subscribe other functions to it.
So with example, my formGroup is like
this.myForm = new FormGroup({
name: new FormControl(''),
address: new FormGroup({
street: new…

Sankalp
- 1,300
- 5
- 28
- 52
2
votes
0 answers
Spring JMS Template Sync Receive on Non-Durable Subscriber Message Loss
1. Background
We are evaluating Spring JMS and testing out the JMSTemplate for various scenarios - queues, topics (durable, non-durable).
We experienced message loss for non-durable topic subscribers and would like to seek clarifications here.
2.…

Victor Lim
- 21
- 2
2
votes
1 answer
ROS CompressedDepth to numpy (or cv2)
Folks,
I am using this link as starting point to convert my CompressedDepth (image of type: "32FC1; compressedDepth," in meters) image to OpenCV frames:
Python CompressedImage Subscriber Publisher
I get an empty data when I try to print, or I get a…

Pototo
- 691
- 1
- 12
- 27