Windows Azure class which models the messages exchanged by applications that communicate through queues and topics.
Questions tagged [brokeredmessage]
49 questions
1
vote
1 answer
Azure service bus Message deserialize broken in core conversion
So, I've created a new Azure Functions project v3 and am porting over a subset of functions from v1 that was running on 4.6.2, while retiring the rest as obsolete. Unfortunately in the change from BrokeredMessage to Message due to changing from…

Seth
- 954
- 1
- 15
- 42
1
vote
0 answers
Azure service bus unique sessions for unique clients' messages & how to make non-brokered connections?
I'm planning to opt for Azure service bus queue standard tier as I need to create a session enabled queue so that 1000s of my users can initiate a session (using a dynamic session guid generated on button click) & receive message in queue against…

singh_g99
- 19
- 6
1
vote
0 answers
Deserializing Derived Types Results in "Expecting Element" error
I'm trying to use Microsoft's Serivce Bus Brokered Message APIs and I'm encountering deserialization issues when trying to use derived types. It seems like the code does not recognize the known types, and i have no issues when serializing these…

Matthew Hartz
- 271
- 3
- 14
1
vote
1 answer
Unknown xml serialization content/namespace from Service bus brokered message
Hi i was wondering why i get a special namespace in my brokered message content from my service bus when i fetch the message from the topic. and how do i remove it?
i have my xml, and when i (in my Azure function) try to retrieve the message from…

H4p7ic
- 1,669
- 2
- 32
- 61
1
vote
3 answers
Azure Service Bus topic: how enable concurrent readers?
Background
I'm using the Azure Service Bus. Inside a namespace, I have a topic with an active subscription. I have a producer pushing messages to the topic, and I have n numbers of services subscribing to the same subscription (for scalability…

H. Larsson
- 31
- 3
1
vote
1 answer
Messages are not getting deleted from azure service bus subscription
am using azure service bus messaging, in that i'm getting some strange issue.
i created a subscription client with "peeklock" mode.
using SubscriptionClient.ReceiveBatch(500) method and received 'n' messages. then loop those messages and do my…

gee kay
- 11
- 1
- 2
1
vote
1 answer
Not getting all the brokered messages from azure service bus subscription
I am using azure service bus subscription and Topics for sending orders and getting orders. We have a windows app which pulls orders using web api from azure service bus subscription.
Suppose if user login and got 5 orders. If user log out from the…

Dinesh Rawat
- 71
- 7
1
vote
0 answers
Serialization operation failed due to unsupported type Microsoft.ServiceBus.Messaging.MessageState
I have a C# app which subscribes to the Azure Service Bus Queue and listens to the messages from the Queue using BrokeredMessage. This app receives the message, executes its business logic and finally when it try to complete the msg (…

Vishal P
- 11
- 2
1
vote
1 answer
Brokered message transfer between iOS device and backend using Azure Bus service queue
I am trying send data between iOS device and backend using azure bus service .
But all the things that I found on Microsoft azure portal provide Accounts storage methods to azure or through hub providing push notifications.
I am trying to send a…

Harsh Thakur
- 293
- 2
- 11
1
vote
2 answers
Reading deadlettered messages from service bus queue
I would like to know if it's possible to read deadlettered messages from an azure service bus queue in JAVA.
I found the following example…

Paternostro
- 43
- 2
- 9
1
vote
2 answers
Service Bus Queue how to map Task to Task
I'm using adapter for Service Bus Queue. Therefore, I shouldn't use any class of Queue for return type. But I'm stucked on ReceiveAsync() method. How can I map Task to Task ?
Here is adapter Class for…

Erkan Demirel
- 4,302
- 1
- 25
- 43
1
vote
0 answers
Azure topic subscription doesn't receive messages >50KB
I have a simple topic with a single subscription. I can send receive messages consistently when I keep the size of the message small (50kb or less is fine).
When I try to send a message with a larger size larger than ~50kb, the message is sent…

BFreeman
- 750
- 2
- 7
- 18
1
vote
1 answer
How do I prevent duplicate message not to be inserted in Service Bus Queue while WebJob processing?
I want to be sure that if same message is already present in the queue then second message should be ignored (not inserted to queue) while webjob is processing first message.
I tried following code:
var namespaceManager =
…

Neo
- 15,491
- 59
- 215
- 405
1
vote
1 answer
Azure Service Bus Queue - Serialization with BrokeredMessage
Trying to submit a queue message with an object in the message body but receiving exception on the following line with BrokeredMessage
QueueClient queueClient = QueueClient.CreateFromConnectionString(_connectionString, _queuePathName);
var data =…

Andy T
- 1,355
- 2
- 19
- 30
1
vote
3 answers
How can I automatically expire messages on an Azure Service Bus subscription?
The documentation on BrokeredMessage says:
If the TTL set on a message by the sender exceeds the destination's TTL, then the message's TTL will be overwritten by the later value. See DefaultMessageTimeToLive, DefaultMessageTimeToLive and…

veertien
- 457
- 5
- 18