How to start the UI when starting elasticmq embedded in java

I am starting elasticmq embedded in Java (GitHub - softwaremill/elasticmq: In-memory message queue with an Amazon SQS-compatible interface. Runs stand-alone or embedded.)

How to specify and start the UI for this. When I try to access port 9325, i am getting an internal server error. The logs say that UI files could not be found.

ERROR 2023-10-31 17:21:12,045 [TheStatisticsRestServerBuilder$$anon$1] [] []: Exception when running routes
java.lang.RuntimeException: Could not find UI files
	at org.elasticmq.rest.stats.StatisticsDirectives.uiLocation(StatisticsDirectives.scala:50)

I think the UI is only included in the docker packages, but maybe @micossow has some more details on that :slight_smile:

That’s right, we do not publish UI to maven.
The only way is to checkout the elasticmq repo, build the UI and put the files in classpath.
Although, the recommended way of using elasticmq is indeed via docker (e.g. testcontainers)

Thanks @adamw and @micossow . We will move to the docker deployment then.