Giter VIP home page Giter VIP logo

Comments (5)

damonbarry avatar damonbarry commented on June 23, 2024

Do you mean that the gateway application needs to send a message to a module? Or another application on the same machine?

Generally, out-of-band communication like this is not handled by the SDK.

Can you provide a more specific example? Or maybe a pull request? ;)

from iot-edge-v1.

Kevin0626 avatar Kevin0626 commented on June 23, 2024

I mean sending to a broker module managed by the gateway.

for example, we send data to module A for prcessing, then to module B for further processing.

from iot-edge-v1.

damonbarry avatar damonbarry commented on June 23, 2024

When you configure modules A and B in the gateway, you can add a link to the configuration so that messages sent from module A and delivered to module B, like this:

"links": [
  { "source": "A", "sink": "B" },
  ...
]

Does that give you what you're looking for?

from iot-edge-v1.

aribeironovaes avatar aribeironovaes commented on June 23, 2024

Hi @Kevin0626,

To add more, is your scenario like this?
Having a Module A, Module B and Module C and you want sometimes send messages from Module A to Module B and sometimes from Module A to Module C? Is this your scenario?

If so, what you can do is filtering the message using Message Property, (like defining a Content-Type, for example.

I would advice to try to design your scenario so modules send target messages to other modules (using direct links), but if you sometime needs to implement the scenario above you can always use Message Properties.

Hope this helps,

Angelo Ribeiro.

from iot-edge-v1.

damonbarry avatar damonbarry commented on June 23, 2024

No activity...closing.

from iot-edge-v1.

Related Issues (20)

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.