# \#springboot

**URL:** https://community.temporal.io/tag/springboot/9.md

[Latest](https://community.temporal.io/latest.md) · [Categories](https://community.temporal.io/categories.md) · [Tags](https://community.temporal.io/tags.md)

---

## [How to use Grpc retries in Java temporal workflows](https://community.temporal.io/t/how-to-use-grpc-retries-in-java-temporal-workflows/19738)

<div class="topic-metadata">

**Author:** [@SachinNimawat](https://community.temporal.io/u/SachinNimawat)\
**Replies:** 3\
**Last updated:** [July 23, 2026, 2:09pm UTC](https://community.temporal.io/t/how-to-use-grpc-retries-in-java-temporal-workflows/19738 "2026-07-23T14:09:36Z")

</div>

Hi @maxim @temporal\_angie How we can use grpc retries in java temporal workflow activities ?? Can u please share any useful document for this?? Thanks, Sachin Nimawat

---

## [Promise.get() vs Workflow.await() what are the major differences, and is there a performance benefit associated with one over the other](https://community.temporal.io/t/promise-get-vs-workflow-await-what-are-the-major-differences-and-is-there-a-performance-benefit-associated-with-one-over-the-other/7778)

<div class="topic-metadata">

**Author:** [@vikas\_kumar](https://community.temporal.io/u/vikas_kumar)\
**Replies:** 6\
**Last updated:** [August 5, 2025, 12:46pm UTC](https://community.temporal.io/t/promise-get-vs-workflow-await-what-are-the-major-differences-and-is-there-a-performance-benefit-associated-with-one-over-the-other/7778 "2025-08-05T12:46:16Z")

</div>

We have a use case where I have a parent Workflow and there is a child workflow that creates a task that requires human approval to get completed. Approval endpoints complete the task in which interns complete the child…

---

## [Static Mocking in Temporal Workflows](https://community.temporal.io/t/static-mocking-in-temporal-workflows/17028)

<div class="topic-metadata">

**Author:** [@Khaled\_Baghdadi](https://community.temporal.io/u/Khaled_Baghdadi)\
**Replies:** 0\
**Last updated:** [April 2, 2025, 11:36am UTC](https://community.temporal.io/t/static-mocking-in-temporal-workflows/17028 "2025-04-02T11:36:26Z")

</div>

Hello, I previously shared a blog post that explains how we use MockStatic in our workflow integration tests (see Mock Static Methods in Temporal Workflow Tests). Here’s a quick summary of our approach and the challenge …

---

## [Issue with Temporal Scheduler Skipping Executions](https://community.temporal.io/t/issue-with-temporal-scheduler-skipping-executions/16842)

<div class="topic-metadata">

**Author:** [@Rohit](https://community.temporal.io/u/Rohit)\
**Replies:** 1\
**Last updated:** [March 31, 2025, 2:01pm UTC](https://community.temporal.io/t/issue-with-temporal-scheduler-skipping-executions/16842 "2025-03-31T14:01:31Z")

</div>

I’m experiencing an issue with Temporal Schedules and would appreciate your insights. Here’s the scenario: I have a scheduled Temporal workflow that triggers every Saturday at 1:00 AM EST. March 8th, 2025, was the run …

---

## [Concurrency limits in temporal springboot](https://community.temporal.io/t/concurrency-limits-in-temporal-springboot/16810)

<div class="topic-metadata">

**Author:** [@Emilie](https://community.temporal.io/u/Emilie)\
**Replies:** 3\
**Last updated:** [March 17, 2025, 2:22pm UTC](https://community.temporal.io/t/concurrency-limits-in-temporal-springboot/16810 "2025-03-17T14:22:01Z")

</div>

I’m trying to set a concurrency limit of 10 on a task queue that I have (SelfServiceReqManagement), and was a bit confused on the options available for spring boot. Here is a snippet of code I currently have: @Bean …

---

## [Workflow.sleep() and CancellationScope usage on synchronous activities;](https://community.temporal.io/t/workflow-sleep-and-cancellationscope-usage-on-synchronous-activities/16621)

<div class="topic-metadata">

**Author:** [@Arshad](https://community.temporal.io/u/Arshad)\
**Replies:** 3\
**Last updated:** [March 6, 2025, 11:11am UTC](https://community.temporal.io/t/workflow-sleep-and-cancellationscope-usage-on-synchronous-activities/16621 "2025-03-06T11:11:27Z")

</div>

Hi Team, I am working on a Temporal workflow that consists of five activities that need to be executed sequentially and all the activities are executing in synchronous way… The requirement is: When an activity starts…

---

## [What are custom changes in start-worker options in Spring boot autoconfigure](https://community.temporal.io/t/what-are-custom-changes-in-start-worker-options-in-spring-boot-autoconfigure/6670)

<div class="topic-metadata">

**Author:** [@Ruchir](https://community.temporal.io/u/Ruchir)\
**Replies:** 3\
**Last updated:** [February 19, 2025, 3:49am UTC](https://community.temporal.io/t/what-are-custom-changes-in-start-worker-options-in-spring-boot-autoconfigure/6670 "2025-02-19T03:49:57Z")

</div>

Hi, In this link, for the start-workers attribute, it is mentioned that disable starting WorkersFactory if you want to make any custom changes before the start What should be considered as custom changes from the fo…

---

## [Worker poll configuration](https://community.temporal.io/t/worker-poll-configuration/16284)

<div class="topic-metadata">

**Author:** [@ramyabdelmoneam](https://community.temporal.io/u/ramyabdelmoneam)\
**Replies:** 1\
**Last updated:** [February 3, 2025, 2:41am UTC](https://community.temporal.io/t/worker-poll-configuration/16284 "2025-02-03T02:41:28Z")

</div>

I use temporal with springboot with the below config, and i want to know why it take too long to start execution and if there is any configuration to confiure the time of worker to poll and execute the activity or workfl…

---

## [Tempolar Workflow Conflict Status](https://community.temporal.io/t/tempolar-workflow-conflict-status/15991)

<div class="topic-metadata">

**Author:** [@ramyabdelmoneam](https://community.temporal.io/u/ramyabdelmoneam)\
**Replies:** 1\
**Last updated:** [January 8, 2025, 1:59pm UTC](https://community.temporal.io/t/tempolar-workflow-conflict-status/15991 "2025-01-08T13:59:58Z")

</div>

In some cases i run a heavy rate of workflow requests on tempolar, some of these workflow requests marked as a Running workflow from List But from workflow details page is Completed. why this behavior could happened ? …

---

## [Load Temporal with config file](https://community.temporal.io/t/load-temporal-with-config-file/15839)

<div class="topic-metadata">

**Author:** [@ramyabdelmoneam](https://community.temporal.io/u/ramyabdelmoneam)\
**Replies:** 0\
**Last updated:** [December 24, 2024, 10:44am UTC](https://community.temporal.io/t/load-temporal-with-config-file/15839 "2024-12-24T10:44:26Z")

</div>

When i run \>\>\> temporal server start-dev --ui-port 8090 --metrics-port 8091 --env-file D:\\temporal\_cli\_1.1.1\_windows\_amd64\\temporal\_cli\_1.1.2\\development-postgres12.yaml pause; \<\<\< i got line 2: cannot unmarshal …

---

## [Tempolar is Thread-safe?](https://community.temporal.io/t/tempolar-is-thread-safe/15749)

<div class="topic-metadata">

**Author:** [@ramyabdelmoneam](https://community.temporal.io/u/ramyabdelmoneam)\
**Replies:** 2\
**Last updated:** [December 18, 2024, 4:48pm UTC](https://community.temporal.io/t/tempolar-is-thread-safe/15749 "2024-12-18T16:48:00Z")

</div>

Is workflow execution or activity working as a thread-safe ?

---

## [Multiple instance with tempolar and springboot](https://community.temporal.io/t/multiple-instance-with-tempolar-and-springboot/15574)

<div class="topic-metadata">

**Author:** [@ramyabdelmoneam](https://community.temporal.io/u/ramyabdelmoneam)\
**Replies:** 1\
**Last updated:** [December 8, 2024, 5:26pm UTC](https://community.temporal.io/t/multiple-instance-with-tempolar-and-springboot/15574 "2024-12-08T17:26:18Z")

</div>

i use tempolar with spring boot and create multiple instance of the same application with the same queue name and worker name and if one of this instance shutdown or closed connection during execution the workflow, is th…

---

## [Workflow Cancelation Behavior](https://community.temporal.io/t/workflow-cancelation-behavior/15538)

<div class="topic-metadata">

**Author:** [@ramyabdelmoneam](https://community.temporal.io/u/ramyabdelmoneam)\
**Replies:** 1\
**Last updated:** [December 5, 2024, 5:10pm UTC](https://community.temporal.io/t/workflow-cancelation-behavior/15538 "2024-12-05T17:10:16Z")

</div>

I’m implementing a tempolar project using springboot framework, is there any way to catch the cancelation event for the workflow or activity in the code if i canceled the workflow execution through the webui. Is this app…

---

## [Mark Workflow as failed](https://community.temporal.io/t/mark-workflow-as-failed/15542)

<div class="topic-metadata">

**Author:** [@ramyabdelmoneam](https://community.temporal.io/u/ramyabdelmoneam)\
**Replies:** 2\
**Last updated:** [December 5, 2024, 2:13pm UTC](https://community.temporal.io/t/mark-workflow-as-failed/15542 "2024-12-05T14:13:17Z")

</div>

How can i mark a workflow as a failed one by hard coded as per if condition inside my code. is some cases workflow executed successfully with all activities but i want to mark it as a failed workflow according if conditi…

---

## [Passing application.properties to temporal workflow](https://community.temporal.io/t/passing-application-properties-to-temporal-workflow/14702)

<div class="topic-metadata">

**Author:** [@thisisnimish3](https://community.temporal.io/u/thisisnimish3)\
**Replies:** 3\
**Last updated:** [November 15, 2024, 8:58pm UTC](https://community.temporal.io/t/passing-application-properties-to-temporal-workflow/14702 "2024-11-15T20:58:40Z")

</div>

public class OrderFulfillmentWorkflowImpl implements OrderFulfillmentWorkflow { private Logger logger = Workflow.getLogger(this.getClass().getName()); private final ActivityOptions shippingActivityOptions = A…

---

## [How to have host specific queues when using Temporal with Spring boot](https://community.temporal.io/t/how-to-have-host-specific-queues-when-using-temporal-with-spring-boot/15154)

<div class="topic-metadata">

**Author:** [@oct94abhi](https://community.temporal.io/u/oct94abhi)\
**Replies:** 1\
**Last updated:** [November 15, 2024, 6:23am UTC](https://community.temporal.io/t/how-to-have-host-specific-queues-when-using-temporal-with-spring-boot/15154 "2024-11-15T06:23:23Z")

</div>

I have a single workflow with multiple activities and multiple workers deployed as Spring boot pods. 1st activity generates a file on local disk and can run on any worker, but the subsequent activities which process and…

---

## [Fail fast mechanism when to send a task to non-exist workflow/activity queue](https://community.temporal.io/t/fail-fast-mechanism-when-to-send-a-task-to-non-exist-workflow-activity-queue/15120)

<div class="topic-metadata">

**Author:** [@petr](https://community.temporal.io/u/petr)\
**Replies:** 3\
**Last updated:** [November 13, 2024, 5:21pm UTC](https://community.temporal.io/t/fail-fast-mechanism-when-to-send-a-task-to-non-exist-workflow-activity-queue/15120 "2024-11-13T17:21:14Z")

</div>

Hello! I’m curious does temporal have a fail fast mechanism to prevent sending tasks to non-exist queue? The reason to ask the question is when queue is incorrectly specified (due to refactoring for example) in Workflo…

---

## [Register workflows dynamically with Spring Configuration and not from yaml](https://community.temporal.io/t/register-workflows-dynamically-with-spring-configuration-and-not-from-yaml/13070)

<div class="topic-metadata">

**Author:** [@mainak\_sethi](https://community.temporal.io/u/mainak_sethi)\
**Replies:** 2\
**Last updated:** [August 8, 2024, 3:51pm UTC](https://community.temporal.io/t/register-workflows-dynamically-with-spring-configuration-and-not-from-yaml/13070 "2024-08-08T15:51:20Z")

</div>

Hi team, I am using temporal-spring-boot for workflows scenarios. I am hosting all workflows in one repository but want to spawn dynamic workers by passing argument which queues to host on this worker through docker com…

---

## [How to skip task queues when certain spring profile is active?](https://community.temporal.io/t/how-to-skip-task-queues-when-certain-spring-profile-is-active/12581)

<div class="topic-metadata">

**Author:** [@Hedon](https://community.temporal.io/u/Hedon)\
**Replies:** 2\
**Last updated:** [June 24, 2024, 4:02am UTC](https://community.temporal.io/t/how-to-skip-task-queues-when-certain-spring-profile-is-active/12581 "2024-06-24T04:02:23Z")

</div>

Hi team, I am using spring autoconfigurer here sdk-java/temporal-spring-boot-autoconfigure-alpha at master · temporalio/sdk-java · GitHub in my projects. There’s a workers-auto-discovery option which I found very useful.…

---

## [Using Spring Integration to batch API requests from Temporal activity at client side into 1 single network call](https://community.temporal.io/t/using-spring-integration-to-batch-api-requests-from-temporal-activity-at-client-side-into-1-single-network-call/12071)

<div class="topic-metadata">

**Author:** [@JamesTran](https://community.temporal.io/u/JamesTran)\
**Replies:** 0\
**Last updated:** [May 11, 2024, 4:18pm UTC](https://community.temporal.io/t/using-spring-integration-to-batch-api-requests-from-temporal-activity-at-client-side-into-1-single-network-call/12071 "2024-05-11T16:18:18Z")

</div>

To give you some context. At the moment, I’m building a web app for my company to manage marketing campaigns with complicated long-running workflows. My high-level plan is to use Temporal to build the BE that reads a wor…

---

## [Activity worker deployment with Spring boot application](https://community.temporal.io/t/activity-worker-deployment-with-spring-boot-application/3810)

<div class="topic-metadata">

**Author:** [@poojabhutada](https://community.temporal.io/u/poojabhutada)\
**Replies:** 6\
**Last updated:** [May 7, 2024, 3:40am UTC](https://community.temporal.io/t/activity-worker-deployment-with-spring-boot-application/3810 "2024-05-07T03:40:51Z")

</div>

Hi, If I have a workflow(QueueA) with an activity(QueueB) which is making call to an external application (Ext\_App). This external application is basically another application being developed by me only where I am plann…

---

## [Workflow.sleep(theMilliSeconds);](https://community.temporal.io/t/workflow-sleep-themilliseconds/11357)

<div class="topic-metadata">

**Author:** [@carrotcap3](https://community.temporal.io/u/carrotcap3)\
**Replies:** 3\
**Last updated:** [March 14, 2024, 6:59pm UTC](https://community.temporal.io/t/workflow-sleep-themilliseconds/11357 "2024-03-14T18:59:55Z")

</div>

Workflow.sleep(theMilliSeconds); does not work inside my workflow. What am I missing? @Override public void executeActivities(MyDomain object) throws NonRetriableTaskException { final long theDelay = theAc…

---

## [Error: Local Activity Worker is not started, no activities were registered](https://community.temporal.io/t/error-local-activity-worker-is-not-started-no-activities-were-registered/11116)

<div class="topic-metadata">

**Author:** [@Volodymyr\_Konoval](https://community.temporal.io/u/Volodymyr_Konoval)\
**Replies:** 1\
**Last updated:** [February 26, 2024, 1:54pm UTC](https://community.temporal.io/t/error-local-activity-worker-is-not-started-no-activities-were-registered/11116 "2024-02-26T13:54:27Z")

</div>

Hello, I’m trying to setup a temporal workflow using spring boot. I’ve defined activities as beans, etc. Basically was following the examples from temporal git. Workflow starts, but throws following errors in logs: 2…

---

## [Springboot with Temporal Design](https://community.temporal.io/t/springboot-with-temporal-design/10559)

<div class="topic-metadata">

**Author:** [@ganeshs](https://community.temporal.io/u/ganeshs)\
**Replies:** 1\
**Last updated:** [January 29, 2024, 4:04am UTC](https://community.temporal.io/t/springboot-with-temporal-design/10559 "2024-01-29T04:04:55Z")

</div>

Hi Team, I’m new to Temporal and currently working on a proof of concept (POC) with Temporal and Spring Boot. I have a couple of questions I’d appreciate clarification on: 1)The Temporal Spring Boot dependency is curre…

---

## [Spring boot connected to temporal sever getting io.grpc.StatusRuntimeException: UNKNOWN: HTTP status code 204](https://community.temporal.io/t/spring-boot-connected-to-temporal-sever-getting-io-grpc-statusruntimeexception-unknown-http-status-code-204/8122)

<div class="topic-metadata">

**Author:** [@shivamtiwari2009](https://community.temporal.io/u/shivamtiwari2009)\
**Replies:** 7\
**Last updated:** [January 25, 2024, 8:01am UTC](https://community.temporal.io/t/spring-boot-connected-to-temporal-sever-getting-io-grpc-statusruntimeexception-unknown-http-status-code-204/8122 "2024-01-25T08:01:54Z")

</div>

I am getting below errors consistently in spring boot logs. Though workflows are running fine but not sure why I am getting these errors usRuntimeException: UNKNOWN: HTTP status code 204test-server | 2023-05-02 22:28…

---

## [Temporal memory leak](https://community.temporal.io/t/temporal-memory-leak/10663)

<div class="topic-metadata">

**Author:** [@Bilal\_Fares](https://community.temporal.io/u/Bilal_Fares)\
**Replies:** 3\
**Last updated:** [January 15, 2024, 6:13pm UTC](https://community.temporal.io/t/temporal-memory-leak/10663 "2024-01-15T18:13:34Z")

</div>

Hello, We are encountering a memory leak in a workflow. The code behaves as follows: Optional nextObject = getNextObjectActivity.getNextObject(); while(!Objects.isNull(nextObject) && nextObject.isPresent()){ someActiv…

---

## [Spring @Transactional and Workflows issues](https://community.temporal.io/t/spring-transactional-and-workflows-issues/10354)

<div class="topic-metadata">

**Author:** [@Bruno\_Santos](https://community.temporal.io/u/Bruno_Santos)\
**Replies:** 3\
**Last updated:** [December 26, 2023, 5:10pm UTC](https://community.temporal.io/t/spring-transactional-and-workflows-issues/10354 "2023-12-26T17:10:04Z")

</div>

I have a project that has the following idea: @Transactional public void method(){ repository.save (object1); call workflow to do something (this will have activities that save and query from database) historyReposi…

---

## [Starting a temporal cron job manually](https://community.temporal.io/t/starting-a-temporal-cron-job-manually/9971)

<div class="topic-metadata">

**Author:** [@Kirtan\_Desai](https://community.temporal.io/u/Kirtan_Desai)\
**Replies:** 3\
**Last updated:** [November 3, 2023, 2:49am UTC](https://community.temporal.io/t/starting-a-temporal-cron-job-manually/9971 "2023-11-03T02:49:19Z")

</div>

I need to setup a temporal cron job (cannot use temporal schedule) using the Java SDK which generates daily reports so the workflow needs a context of date which can be passed to it. When a workflow execution fails, is t…

---

## [Temporal with springboot](https://community.temporal.io/t/temporal-with-springboot/2734)

<div class="topic-metadata">

**Author:** [@nkatre](https://community.temporal.io/u/nkatre)\
**Replies:** 28\
**Last updated:** [October 31, 2023, 2:36pm UTC](https://community.temporal.io/t/temporal-with-springboot/2734 "2023-10-31T14:36:39Z")

</div>

Hello, I am trying to run temporal with spring boot. I have annotated my activities in temporal workflow with @Component. However have used no annotation on workflow. When I try to run activity from workflow, I run int…

---

## [Error in missing csrf token](https://community.temporal.io/t/error-in-missing-csrf-token/9781)

<div class="topic-metadata">

**Author:** [@Shiny\_Zebalda](https://community.temporal.io/u/Shiny_Zebalda)\
**Replies:** 1\
**Last updated:** [October 13, 2023, 9:47pm UTC](https://community.temporal.io/t/error-in-missing-csrf-token/9781 "2023-10-13T21:47:17Z")

</div>

Hi, GitHub - techdozo/order-fulfillment-workflow: Order fulfillment workflow orchestration using Temporal with Spring Boot. I used this repository. While building this in AWS instance, it build it successfully but while…

[Next page](https://community.temporal.io/tag/springboot/9.md?match_all_tags=true&page=1&tags%5B%5D=springboot)
