Reusing activities in other activites

I have a simple Activity class ActivityA

@ActivityInterface
public class ActivityA {
 @ActivityMethod
  public String greet();
}

I have another activity class ActivityB

@ActivityInterface
public class ActivityB {
 @ActivityMethod
  public String greetDifferently();
}

Now in the ActivityBImpl class, i want to reuse ActivityA’s greet() method

So i have

@Component
public class ActivityBImpl implements ActivityB {
 
   @Autowired
   private ActivityA activityA

  public String greetDifferently() {
  // activityA.greet();
 //more steps
 }
}

for some reason, activityA here even though not initialized as an activity stub, is behaving like an activity with retries when greet() fails. Can’t activities initialized the usual springboot way not be reused in another activity?

I didn’t want to create a utility class just to pull out common logic as this would lead to excessive layers if i were to enhance existing activities and wish to reuse them

Could you provide a reproduction? I don’t see how calling an activity directly is behaving the way you described.