Giter Site home page Giter Site logo

ng2-stompjs-demo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ng2-stompjs-demo's Issues

Dont get any response back.

I run the example, connecting succesfully, sending the message (can see it in RMQ web ui but I dont get the message back. No errors in console

Stomp object in stomp.service.ts (Line 84) is empty

Hello,

I am trying to implement this library, and when I try to create the client object, nothing happens.

this.client = Stomp.client( scheme + '://' + this.config.host + ':' + this.config.port + '/stomp/websocket' );

I see that 'Stomp' is declared on line 10, but it does not get assigned a value that I can see. I'm sure I'm missing something silly.

Thanks

Update to Angular 2.0 Release

This issue tracks updating this project to work with the Angular 2.0 release version.

The plan is to configure the build using angular-cli, as opposed to the current method using SystemJS.

Time estimate: 4-5 h

For an example of where I've already done this see my MQTT demo

Property 'client' does not exist on type 'typeof "stompjs"'

I'm not sure if this is the best place to post this, but I'm trying to integrate this into our application and keep getting this error in the angular cli.

It happens on what is line 81 in the stomp.service.ts file (it's on a different line in mine):
// Attempt connection, passing in a callback this.client = Stomp.client('${scheme}://${environment.messageQueueRootUrl}:${environment.messageQueuePort}/ws/v11.stomp');
I had this in another app developed with Angular2 RC4, and it worked perfectly. Now that I'm trying to integrate it into our new platform based on the final release of Angular2, I'm getting this error.

Any help would be appreciated.

Chris Hampton

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.