# Activities requiring different options

**URL:** <https://community.temporal.io/t/activities-requiring-different-options/752>\
**Category:** Community Support\
**Tags:** java-sdk\
**Created:** [October 14, 2020, 11:28pm UTC](https://community.temporal.io/t/activities-requiring-different-options/752 "2020-10-14T23:28:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Littig](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/peter_littig/32/308_2.png) [@Peter\_Littig](https://community.temporal.io/u/Peter_Littig)\
**Post date:** [October 14, 2020, 11:28pm UTC](https://community.temporal.io/t/activities-requiring-different-options/752/1 "2020-10-14T23:28:17Z")

</div>

Hello, Temporal!

I have an activity interface that defines three different (but related) activities, and each requires different options to be specified (e.g., timeouts). From the Java documentation:

_Activity options are needed only if some of the required timeouts are not specified through the `@ActivityMethod` annotation._

This seems to suggest that `@ActivityMethod` annotations could be used to specify different options for each activity in a common interface. At the moment, it looks like [ActivityMethod.java](https://github.com/temporalio/sdk-java/blob/master/temporal-sdk/src/main/java/io/temporal/activity/ActivityMethod.java) only supports overriding of the activity’s name.

So, is the only option for achieving different timeouts for different activities to instantiate multiple activity stubs within a workflow (each with its own `ActivityOptions` instance? And in this case, would distinct task queues be required for each stub?

Thanks!  
Peter

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [October 14, 2020, 11:30pm UTC](https://community.temporal.io/t/activities-requiring-different-options/752/2 "2020-10-14T23:30:21Z")

</div>

We do have plans to add per activity options support in a single stub instance. At this point, you have to use multiple stubs. All of them can use the same task queue.

---

<div class="post-metadata">

**Author:** ![emailtowalter](https://avatars.discourse-cdn.com/v4/letter/e/848f3c/32.png) [@emailtowalter](https://community.temporal.io/u/emailtowalter)\
**Post date:** [February 28, 2021, 11:09pm UTC](https://community.temporal.io/t/activities-requiring-different-options/752/3 "2021-02-28T23:09:04Z")

</div>

Hi maxim… I have the same requirement. Any update for this?

Thanks

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [March 1, 2021, 1:40am UTC](https://community.temporal.io/t/activities-requiring-different-options/752/4 "2021-03-01T01:40:01Z")

</div>

Not yet implemented. I filed [an issue](https://github.com/temporalio/sdk-java/issues/370) to get this tracked.
