Comments (4)
In the output you attached, I don't see TimeoutException being notified on the SessionHandler. What the output trace has is logger writing exceptions to the console. Even in the new library, a timeout exception is generated if there are no sessions to accept. But SessionHandler is not notified of the timeout exception. That is the fix I made. Do you SessionHandler being notified of the timeout exception?
from azure-service-bus-java.
I am not sure what you are asking for
I just see the same Timeout exception as before:
com.microsoft.azure.servicebus.primitives.TimeoutException
I have attached the code, please take a look.
OK, how to suppress this Timeout exception if a queue/topic is empty?
We do not want to have such exceptions in the log.
from azure-service-bus-java.
Sorry.. I meant to ask 'Do you see the SessionHandler being notified of the timeout exception?'. TimeoutException is traced as a warning from the path in the code that traces every exception generated. It is not thrown to the client or notified to the client in anyway. What you are seeing is Logger writing it to the console as WARNING. We will add more enhanced logging. Until then if you don't want to see the trace, just turn off Warning level logging using these two lines.
Logger sbLogger = Logger.getLogger("servicebus.trace");
sbLogger.setLevel(Level.OFF);
These two lines turn off logging altogether.
from azure-service-bus-java.
Thank you!
This is what we need:
Level.SEVERE
Please close the issue.
from azure-service-bus-java.
Related Issues (20)
- Stopping the reactor because thread was interrupted or the reactor has no more events to process.
- MessageAndSessionPump closes the connection on the receipt of SIGTERM.
- Memory Leak
- receiveMessages method with maxWaitTime not working as expected
- @ServiceBusQueueTrigger MSI authentication
- Azure service bus jar changing default Spring Boot behavior HOT 9
- ServiceBusSenderClient sendMessage method doesn't return MessageId after pushing the message to the queue/topic HOT 1
- Getting "ReactorDispatcher instance is closed" error when trying to close the azure service bus connection after receiving message HOT 14
- How to setup Message Listener to pickup message immediately on arrival (Pricing Tier: Basic)
- Azure event hub connection is closed error HOT 1
- Error occurred while refreshing token that is not retriable. Not scheduling refresh task.
- Infinite Receiver/Subscriber Issue | Java 11 | Spring Boot 2.5.* HOT 2
- Error processing ASB queues with Spring Boot and Apache Camel
- Transaction acknowledgement issue
- This repo is missing important files
- How can I get message attributes in Azure func
- LockRenewalOperation exception when marking message as abandon/complete on same client HOT 1
- Inconsistent Behavior of getLockedUntil() Method for Messages Received from Azure Service Bus Queue
- Consumer Fails to Reconnect and Consume Messages with Apache Qpid JMS Client (Version 0.51.0)
- Service Bus Client Mock Bean creation
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 azure-service-bus-java.