Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Bindings not working

Open
#204 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
azure, java
Domain
backend, cloud

Research direction

Start from the run function and its ServiceBusQueueTrigger and BindingName parameters. Compare the requested names—ApplicationProperties, DeliveryCount, deadLetterSource, and status—with the metadata exposed by the Java binding and the dead-letter message properties described in the issue. Reproduce the binding error with one uncommented parameter and determine which metadata names are supported.

Written by the indexing model from the issue text.

Description

I have a function using QueueTrigger and I want to get some metadata info:

@FunctionName("func-name") public void run( @ServiceBusQueueTrigger( name = "message", queueName = "%SERVICE_BUS_QUEUE_NAME%", connection = "some connection details" ) String message, //@BindingName("ApplicationProperties") Map<String, String> applicationProperties, //@BindingName("DeliveryCount") int deliveryCount, @BindingName("MessageId") String messageId, //@BindingName("deadLetterSource") String deadLetterSource, //@BindingName("status") String status, final ExecutionContext context )

The only data that I'm able to retrieve is the message MessageId. If I uncomment any of the other bindings, I get the following error:

Cannot find matched @BindingName of customer function, please check if customer function is defined correctly

But when I go to the queue and select a message and go to the tab Message Properties, I can see the properties but for some reason I'm not able to get it. Any hints of what might be?

I see the properties from the Dead letter queue and I'm resending the message to the queue.

Dominant language
Java
Stars
45
Forks
49
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/azure-functions-java-library

All issues in Azure/azure-functions-java-library

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.