Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Dariusz Gafka
    @dgafka

    Welcome in Ecotone Framework Chat.
    If you have questions in relation to the framework, feel free to ask :)

    Documentation: https://docs.ecotone.tech
    Example Project: https://github.com/ecotoneframework/php-ddd-cqrs-event-sourcing-ecotone

    Jean Claveau
    @jclaveau
    Hello, @dgafka Could you please enable issues for https://github.com/ecotoneframework/reference-guide please to notify typos? There is one in "Ecotone retrievies identifiers" here https://docs.ecotone.tech/modelling/command-handling/repository
    Jean Claveau
    @jclaveau
    Also for the Tactical DDD example, lesson-3 branch seems to be the one to follow instead of lesson-2 https://docs.ecotone.tech/tutorial-php-ddd-cqrs-event-sourcing/php-domain-driven-design
    Dariusz Gafka
    @dgafka
    Hello @jclaveau
    Ok, I've opened issues on reference-guide repo.
    Keep in mind, that this is read-only repo as backup for docs.ecotone.tech.
    Due to this I will have to edit it directly on gitbook page after reviewing the issue :)
    1 reply
    So, if you've spotted the bug, please create github issue pointing the correct place and I will gladly adjust it :)
    Dariusz Gafka
    @dgafka
    Piotr Zając
    @unixslayer
    @dgafka I run into a problem with persisting aggregate events. Can you help with this one ecotoneframework/ecotone#11 Problem occurs when aggregate records more than one event. Maybe there is something I missed.
    Dariusz Gafka
    @dgafka
    Your fix is now merged, thank you :)
    Piotr Zając
    @unixslayer
    @dgafka how Message Router should be used? Looks like its documentation is outdated. I have a case where I'm sending a Query and depending on some assumptions it has to be routed to one of available routes.
    Dariusz Gafka
    @dgafka

    Hey Piotr,

    Router is not Query Handler, so you won't be able to call it directly from QueryBus.
    However you may use Gateway (https://docs.ecotone.tech/messaging/messaging-concepts/messaging-gateway) as your entrypoint,
    or you can call QueryHandler that will delegate the work to the Router.

    I've prepared runnable demo, have fun :)
    https://github.com/dgafka/query-bus-router

    • Please update to 1.22.5 version, as there were some missing default for the Attribute.
    @unixslayer let me know, if that answer your question :)
    In the demo example, I am doing routing based on payload, you can of course make use of metadata for it.
    Piotr Zając
    @unixslayer
    @dgafka thanks for solution. QueryHandler with delegation to the Router is exactly what I wanted.