Giter VIP home page Giter VIP logo

intranet-router-node's People

Contributors

birdwell avatar pulkitsinghal avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

intranet-router-node's Issues

Fix Errors - parameters for queue 'blah' in vhost 'blah' not equivalent

The job queue can be created by either the publisher or by the consumer ... but right now I think that the sample projects like this one, do NOT create the queues on RabbitMQ with the same set of parameters.

This causes problems like:

Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; reason: {#method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - parameters for queue 'jobs_test_queue' in vhost 'hostname' not equivalent, class-id=50, method-id=10), null, ""}

when the java publisher tries to put a message onto a queue that the nodejs consumer has already created.

Separate tests from source code

You seem to have some hard-coded POS specific data in the source-code:

path: '/api/products/2628/product_photos/62/image/', // per request-scope variable

Its probably best to remove that if you'll be hosting the source code on github publically.

Broken connections

Connections always seem to die out ... any thoughts?

17:02:48 web.1  | started with pid 21519
17:02:49 web.1  | [*] Waiting for request. To exit press CTRL+C
17:03:36 web.1  | { host: 'xxx',
17:03:36 web.1  |   port: 'xxx',
17:03:36 web.1  |   path: '/xxx',
17:03:36 web.1  |   method: 'GET',
17:03:36 web.1  | }
17:03:36 web.1  | houston we have a problem
17:03:36 web.1  | Error: connect ECONNREFUSED

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.