File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -119,8 +119,10 @@ get_proxy_connection()
119119 # setting the type of connection
120120 if [[ $2 == " input" ]]; then
121121 local CONNECTION=" method=bind,type=pull"
122+ local NAMECONNECTION=" --proxy-name"
122123 elif [[ $2 == " output" ]]; then
123124 local CONNECTION=" method=connect,type=push"
125+ local NAMECONNECTION=" --proxy-channel-name"
124126 else
125127 echo " parameter 2 should be either 'input' or 'output'"
126128 exit 2
@@ -131,7 +133,7 @@ get_proxy_connection()
131133 else
132134 CONNECTION+=" ,transport=zeromq"
133135 fi
134- local PROXY_CONN=" --proxy-channel-name aggregator-proxy-$1 --channel-config \" name=aggregator-proxy-$1 ,$CONNECTION ,rateLogging=1\" "
136+ local PROXY_CONN=" $NAMECONNECTION aggregator-proxy-$1 --channel-config \" name=aggregator-proxy-$1 ,$CONNECTION ,rateLogging=1\" "
135137
136138 echo PROXY_CONN = $PROXY_CONN 1>&2
137139 echo $PROXY_CONN
You can’t perform that action at this time.
0 commit comments