My issue is:
$scope.socket = new SockJS("ws/ws");
$scope.stompClient = Stomp.over($scope.socket); // Connect to
$scope.stompClient.connect("test", "test", connectCallback, errorCallback);
function connectCallback () {
$scope.stompClient.subscribe('/testurl',someFunc());
}
Here my connectCallback
method is not executing when connect is called. Neither errorCallback
is executed. It just skips over this line although the socket is opened but I further want to subscribe inside connectCallback
definition.
Can u suggest what issue it can be?