It is possible to subsrcibe/publish to messages from java.
See the following example. This contains the java code to publish a message . You can tweak this to read from EDN.
You can write an MDB to listen to the EDN jms environment. // EDN JMS environment
String connFactName = "jms/fabric/EDNConnectionFactory";
String xaConnFactName = "jms/fabric/xaEDNConnectionFactory";
String queueName = "jms/fabric/EDNQueue";
The blog contains the code for writing to the EDN you have to write a java code to read from EDN.