Questions tagged [consuming]

43 questions
0
votes
1 answer

Check whether the API is running or not

I have an API for storing data and I'm consuming it via my mvc application. The authentication process, storing the data and everything else is working properly. The thing is that I am trying to handle some errors or exceptions that may occur in…
user14979715
0
votes
1 answer

Consuming API and store results to database

I need to consume this API: https://api.punkapi.com/v2/beers and after consuming, I have to store it in the database, but only with next fields: internal id, name, description and mean value of the temperature. Any ideas or advice?
markz
  • 5
  • 1
0
votes
1 answer

Why consume() on a KeyEvent in an event filter not working?

I want to filter some characters i.e. the letter "a" in a TextField. I explicitly don't want to use the recommended TextFormatter / setTextFormatter() for this task. The code sample below should actually consume the event on the event-dispatching…
Andy
  • 488
  • 4
  • 13
0
votes
1 answer

Excel COUNTIFS with merged cell

I have excel sheet with 3 subjects: Customer, Data and Product. I want to calculate how many product for each customer, and I used "COUNTIFS" formula, the problem is customer row is merged, so when I use "COUNTIFS" formula it's doesn't work. can you…
Mohsen
  • 13
  • 1
  • 5
0
votes
1 answer

Loading page with time consuming script

Is there a way to tell a page to start showing the page data while a php function is executing? have a page where I show a year calendar with descriptions for each day of the year. The page takes a long time to run. I am looking into ways to…
user823527
  • 3,644
  • 17
  • 66
  • 110
0
votes
0 answers

How to stop DefaultMessageListenerContainer from consuming messages without without invoking stop()

I am using the DefaultMessageListenerContainer with ActiveMQ. While the listener is still running I want to briefly stop consuming messages lets say for 30 mins without stopping the container. DefaultMessageListenerContainer.stop() will help me do…
0
votes
1 answer

How to unacknowledge a message and send it back to the queue in ActiveMQ?

Using ActiveMQ once I read/consume a message from queue I want to redeliver the same message back to queue because I want to stop processing for a while. How can this be achieved?
0
votes
1 answer

Is it possible to lose Consumer group Offsets by Kafka brokers?

I was consuming from a Kafka topic (with a retention of 21 days) in a Kafka Cluster as a consumer (earliest/from beginning) for 15 days continously with x consumer group and on 15th day producer's team stopped producing and I stopped consumer on my…
0
votes
1 answer

RabbitMQ consuming one message before receiving a new

If I sends the message to a task inside my service and returns from the RabbitMQ “Received” callback I get a new callback immediately. This is not intended since my service then will work as a new queue and makes spawning of a new worker more less…
Mabzy
  • 25
  • 4
0
votes
1 answer

Azure Web Functions Consuming SOAP service - how to make async / WinHttpHandler error

I am trying to consume a soap web service from an Azure web functions project. I am having difficultly coding the call to the soap service. I have successfully added a WCF web service reference. The reference.cs file has been generated and the…
laney
  • 57
  • 9
0
votes
1 answer

Call javascript function when consuming event in codebehind

I have a aspx page that, when loading, will initialize a class called, Bill :) When Bill is initialized, the aspx page will wire a function to a handler of Bills. When that function in Bill is fired, I would like to call a javascript function in the…
0
votes
0 answers

nodejs: Cannot interact with data from websocket using eventEmitter

this is my first so be gentle. I am streaming data from a site using this: "use strict"; const ws = require('ws') const w = new ws('wss://website') w.on('message', (msg) => console.log(msg)) let msg = JSON.stringify({ …
bobby
  • 1
0
votes
1 answer

WCF consumed by Java - java.lang.NullPointerException

A colleague of mine is attempting to consume a web service that has been developed using WCF. The error received is: IWAB0014E Unexpected exception occurred. java.lang.NullPointerException at…
youwhut
  • 948
  • 3
  • 17
  • 37
0
votes
1 answer

rest api (client side) is working fine on local server but not on online server

The following code works fine on local server but on online server throws HTTP ERROR 500. cURL is also enable. Have checked the error log it say; AH01071: Got error 'PHP message: PHP Fatal error: Uncaught exception 'Pph\ApiClientException' with…
Taslim
  • 33
  • 9
0
votes
3 answers

Conditionally consume MotionEvents

public class CalendarEventView extends LinearLayout { public CalendarEventView(Context context) { super(context); } public CalendarEventView(Context context, AttributeSet attrs) { super(context, attrs); } public CalendarEventView(Context…
ovg
  • 1,486
  • 1
  • 18
  • 30