# How to build a reusable extention for Akka appliactions?

**URL:** https://discuss.akka.io/t/how-to-build-a-reusable-extention-for-akka-appliactions/7318
**Category:** Actors
**Tags:** scala
**Created:** [October 9, 2020, 5:03pm UTC](https://discuss.akka.io/t/how-to-build-a-reusable-extention-for-akka-appliactions/7318 "2020-10-09T17:03:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sina.nabavi](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/sina.nabavi/32/1864_2.png) [@sina.nabavi](https://discuss.akka.io/u/sina.nabavi)
#### Post date: [October 9, 2020, 5:03pm UTC](https://discuss.akka.io/t/how-to-build-a-reusable-extention-for-akka-appliactions/7318/1 "2020-10-09T17:03:38Z")

</div>

Hi.

I’ve written a simple _Akka_ application with one _Actor_ class. In this application, I have a manual send (_!_) function. There is a priority among messages as control messages are required for the manual send function to proceed. My goal is to make an extension from this application so that I can use it in other _Akka_ applications too. Is this possible? My concern is that there are control messages involved in the function’s behavior. Can I somehow make a _jar_ file from my application classes and include them in desired applications besides the Akka library or should I use Akka Extension?

I appreciate your guidance!
