Repository: incubator-stratos Updated Branches: refs/heads/master b831ba8fd -> 60d971f1e
Specify correct ActiveMQ URL in cep/artifacts/outputeventadaptors/JMSOutputAdaptor.xml Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/60d971f1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/60d971f1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/60d971f1 Branch: refs/heads/master Commit: 60d971f1eab8548017d4dce55fa8a3a2232c77e4 Parents: b831ba8 Author: M. Isuru Tharanga Chrishantha Perera <[email protected]> Authored: Thu Apr 3 11:08:38 2014 +0530 Committer: M. Isuru Tharanga Chrishantha Perera <[email protected]> Committed: Thu Apr 3 11:08:38 2014 +0530 ---------------------------------------------------------------------- extensions/cep/artifacts/outputeventadaptors/JMSOutputAdaptor.xml | 3 ++- tools/stratos-installer/stratos-setup.sh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/60d971f1/extensions/cep/artifacts/outputeventadaptors/JMSOutputAdaptor.xml ---------------------------------------------------------------------- diff --git a/extensions/cep/artifacts/outputeventadaptors/JMSOutputAdaptor.xml b/extensions/cep/artifacts/outputeventadaptors/JMSOutputAdaptor.xml index fcaab98..a6a1161 100644 --- a/extensions/cep/artifacts/outputeventadaptors/JMSOutputAdaptor.xml +++ b/extensions/cep/artifacts/outputeventadaptors/JMSOutputAdaptor.xml @@ -22,7 +22,8 @@ <outputEventAdaptor name="JMSOutputAdaptor" statistics="disable" trace="enable" type="jms" xmlns="http://wso2.org/carbon/eventadaptormanager"> - <property name="java.naming.provider.url">CEP_HOME/repository/conf/jndi.properties</property> + <!--property name="java.naming.provider.url">CEP_HOME/repository/conf/jndi.properties</property--> + <property name="java.naming.provider.url">tcp://MB_HOSTNAME:MB_LISTEN_PORT</property> <property name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</property> <property name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory</property> <property name="transport.jms.DestinationType">topic</property> http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/60d971f1/tools/stratos-installer/stratos-setup.sh ---------------------------------------------------------------------- diff --git a/tools/stratos-installer/stratos-setup.sh b/tools/stratos-installer/stratos-setup.sh index 6183895..d4b812f 100755 --- a/tools/stratos-installer/stratos-setup.sh +++ b/tools/stratos-installer/stratos-setup.sh @@ -444,6 +444,8 @@ function cep_setup() { test -d "$cep_xml_path/eventformatters" || mkdir -p "$cep_xml_path/eventformatters" && cp -f $cep_artifacts_path/eventformatters/*.xml $cep_xml_path/eventformatters/ cp -f $cep_artifacts_path/streamdefinitions/*.xml $cep_conf_path/ + sed -i "s@MB_HOSTNAME:MB_LISTEN_PORT@$mb_ip:$mb_port@g" $cep_xml_path/outputeventadaptors/JMSOutputAdaptor.xml + pushd $stratos_extract_path echo "In outputeventadaptors"
