telstrapurple / PurpleExplorer

cross-platform Azure Service Bus explorer (Windows, MacOS, Linux)
MIT License
163 stars 33 forks source link

Custom Properties not Readable or Writable #48

Open landkommunenhippie opened 2 years ago

landkommunenhippie commented 2 years ago

Background: The AzureServiceBus provides adding additional information for message called CustomProperties (some refer to it as Message Header, the java sdk com.azure.azure-messaging-servicebus refers to it as application properties). See official documentation

At the moment the Purple Explorer is not able to read those when reading a message or to send them when creating a new message to a queue or topic.

The goal is to add the functionality to

armannaj commented 2 years ago

Hi @landkommunenhippie

Is there specific properties you have in mind? OR the ability to work with properties in general?

landkommunenhippie commented 2 years ago

I would like to work with properties in general. In my experience any properties can be added here freely.

I already had a look in the code but was not able to dive deeper at the moment.

madmalkav commented 1 year ago

Properties are heavily used in some scenarios. In example, imagine a pubsub where you publish information about factories in a topic. Some subscribers will be interested in the messages for all factories , but others will only be interested in the messages related to a particular factory. This is commonly done by adding a property with the factory name and using SQL or correlational filters in the subscription to receive only the desired messages.