Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Queue message directly from a broker

Hi Milan,

I'm guessing the problem is that you've set context to NULL in the
easy queue call. It should be a valid struct mosquitto that has a
client id set, otherwise it isn't propagated any further.

Cheers,

Roger


On Sun, Sep 7, 2014 at 1:32 PM, Milan Tucic <tucic.milan@xxxxxxxxx> wrote:
> Thank you for a reply!
>
> Yes, I'm sure. It works just fine (message is arriving to all configured
> brokers) when I send a message from a client to same topic as I tried with
> easy queue. Messages send over easy queue are arriving to "local"
> subscriptions, but not to "remote" subscriptions.
>
> Cheers,
> Milan
>
> 07.09.2014. 00:21, "Roger Light" <roger@xxxxxxxxxx> је написао/ла:
>
>> Hi Milan,
>>
>> mqtt3_db_messages_easy_queue() should work just fine - are you sure
>> that your bridging topics are correct?
>>
>> Cheers,
>>
>> Roger
>>
>>
>>
>> On Thu, Sep 4, 2014 at 8:23 AM, Milan Tucic <tucic.milan@xxxxxxxxx> wrote:
>> > Hi,
>> >
>> > Is it possible to queue message using some of functions declared in
>> > mosquitto broker?
>> > I tried with mqtt3_db_messages_easy_queue(...), but it worked only for
>> > local
>> > broker, remote (bridged) broker failed to get messages.
>> >
>> > Best regards,
>> > Milan
>> >
>> >
>> > _______________________________________________
>> > mosquitto-dev mailing list
>> > mosquitto-dev@xxxxxxxxxxx
>> > To change your delivery options, retrieve your password, or unsubscribe
>> > from
>> > this list, visit
>> > https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
>> _______________________________________________
>> mosquitto-dev mailing list
>> mosquitto-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
>
>
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top