Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Example of overriding props using jbossts-properties.xml
  • Loading branch information
jcrossley3 committed Apr 13, 2015
1 parent d7707d5 commit 91ed29d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion project.clj
Expand Up @@ -21,6 +21,5 @@
:profiles {:uberjar {:aot [demo.core]}}
:min-lein-version "2.4.0"
:jvm-opts ["-Dhornetq.data.dir=target/hornetq-data"
"-DObjectStoreEnvironmentBean.objectStoreDir=target/ObjectStore"
"-Dcom.arjuna.ats.arjuna.objectstore.objectStoreDir=target/ObjectStore"]
:aliases {"msg-client" ["run" "-m" "demo.remote-messaging-client"]})
6 changes: 6 additions & 0 deletions resources/jbossts-properties.xml
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<entry key="CoreEnvironmentBean.nodeIdentifier">1</entry>
<entry key="ObjectStoreEnvironmentBean.objectStoreDir">target/ObjectStore</entry>
</properties>

0 comments on commit 91ed29d

Please sign in to comment.