@@ -315,7 +315,7 @@ export class BrokerConnector implements EventBusEnabled {
315315 const subscriptionId = this . generateSubscriptionId ( session . id , cleanedChannel ) ;
316316 const brokerPrefix = galacticConfig . isPrivate ? config . queueLocation : config . topicLocation ;
317317 const destination =
318- StompParser . generateGalacticDesintation ( brokerPrefix , cleanedChannel , galacticConfig . isPrivate ) ;
318+ StompParser . generateGalacticDesintation ( brokerPrefix , cleanedChannel ) ;
319319 const subscription =
320320 StompParser . generateStompBrokerSubscriptionRequest (
321321 session . id , destination , subscriptionId , galacticConfig . isPrivate , brokerPrefix
@@ -358,7 +358,7 @@ export class BrokerConnector implements EventBusEnabled {
358358 const brokerPrefix = this . _privateChannels . get ( channel ) [ sessionBrokerIdentity ] ?
359359 config . queueLocation : config . topicLocation ;
360360 const destination =
361- StompParser . generateGalacticDesintation ( brokerPrefix , cleanedChannel , isPrivateChannel ) ;
361+ StompParser . generateGalacticDesintation ( brokerPrefix , cleanedChannel ) ;
362362 const subscription = StompParser . generateStompBrokerSubscriptionRequest (
363363 session . id , destination , subscriptionId , isPrivateChannel , brokerPrefix ) ;
364364
@@ -741,7 +741,7 @@ export class BrokerConnector implements EventBusEnabled {
741741 ) ;
742742
743743 const channel : string = StompParser . convertTopicOrQueueToChannel (
744- data . destination , data . brokerPrefix , data . isQueue ) ;
744+ data . destination , data . brokerPrefix ) ;
745745
746746 const chan : Observable < Message > =
747747 this . bus . api . getRequestChannel ( channel , this . getName ( ) ) ;
@@ -764,8 +764,7 @@ export class BrokerConnector implements EventBusEnabled {
764764 let respChan =
765765 StompParser . convertSubscriptionToChannel (
766766 data . destination ,
767- data . isQueue ? session . config . queueLocation : session . config . topicLocation ,
768- data . isQueue ) ;
767+ data . isQueue ? session . config . queueLocation : session . config . topicLocation ) ;
769768 let payload = JSON . parse ( msg . body ) ;
770769
771770 const respChannelObject = this . bus . api . getChannelObject ( respChan ) ;
@@ -820,8 +819,7 @@ export class BrokerConnector implements EventBusEnabled {
820819
821820 // let the bus know.
822821 this . sendBusCommandResponseRaw ( message , BrokerConnectorChannel . subscription , true ) ;
823- const channel : string = StompParser . convertTopicOrQueueToChannel (
824- data . destination , data . brokerPrefix , data . isQueue ) ;
822+ const channel : string = StompParser . convertTopicOrQueueToChannel ( data . destination , data . brokerPrefix ) ;
825823
826824 const sub : Subscription = session . getGalacticSubscription ( channel ) ;
827825
0 commit comments