Skip to content

can not send with expires #47

@worldyuan

Description

@worldyuan

followed code can send
w.Send("/queue/room_" + room_no, "", bs)

but followed code can not send
w.Send("/queue/room_" + room_no, "", bs, stomp.SendOpt.Receipt, stomp.SendOpt.Header("expires", "2049-12-31 23:59:59" /*time.Unix(end,0).Format("2006-01-02 15:04:05")*/ )/*, stomp.SendOpt.Header("priority", fmt.Sprintf("%d", p))*/)

ActiceMq 5.15.6
docker run -dt -P webcenter/activemq

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions