Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we write Azure Webjobs with Queue Triggered with JAVA

Can we write Azure Webjobs with Queue Triggered jobs on Java, tried to search a lot and found only .Net related code example (https://azure.microsoft.com/en-in/documentation/articles/websites-dotnet-webjobs-sdk-storage-queues-how-to/)

If yes can any one direct me to the resources.

Note: Was able to run webjob in java which was triggered by schedule, for this had to create executable jar and create a batch file which runs the jar and zip this two files (bat and jar).

like image 518
Mahesh Pujari Avatar asked Jun 30 '26 02:06

Mahesh Pujari


2 Answers

While we don't have plans to add Java support directly to the core WebJobs SDK, we do have a tracking item here for Java Support in Azure Functions. Feel free to chime in on that issue.

All the work we're doing for cross language is being done in Azure Functions, which builds on the WebJobs SDK foundation. Azure Functions currently supports QueueTrigger (and all the other triggers) for C#, Node.js, PowerShell, PHP, Python, BAT, Bash.

like image 126
mathewc Avatar answered Jul 02 '26 15:07

mathewc


I don't think so, the QueueTrigger is written in .Net code and only exposed as a .NET attribute. The code is on github at https://github.com/Azure/azure-webjobs-sdk. You can request it on the github site, I don't know where it would fall into their priorities.

like image 24
Jason Haley Avatar answered Jul 02 '26 14:07

Jason Haley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!