locked
FluorineFx MessageBroker.GetMessageBroker(null) returns null RRS feed

  • Question

  • User169956771 posted

    Hi,

    I have the following problem:

    I'm sending messages from .Net to the flex application. For that I'm using:

    MessageBroker msgBroker = MessageBroker.GetMessageBroker(null); 

    It works fine when in services-config.xml I'm defining only one service:

    <services> 

      <service id="message-service" class="flex.messaging.services.MessageService" messageTypes="flex.messaging.messages.AsyncMessage">

    ...

      </service>

    </services> 

    But when I'm adding one more service method return null and I'm not able to send any messages:

    <service id="remoting-service" class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage">

    If someone have any idea, please help.

    Thank you.

    Wednesday, April 14, 2010 10:07 AM

Answers

  • User169956771 posted

    Found the problem.  If someone interesting I've just set default="false" in adapter-definition for remoting-service.

    Someday FluorineFx library will have a documentation i hope :)

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, April 14, 2010 12:13 PM