{"action":"created","issue":{"url":"https://api.github.com/repos/iron-io/iron_mq_java/issues/85","labels_url":"https://api.github.com/repos/iron-io/iron_mq_java/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/iron-io/iron_mq_java/issues/85/comments","events_url":"https://api.github.com/repos/iron-io/iron_mq_java/issues/85/events","html_url":"https://github.com/iron-io/iron_mq_java/issues/85","id":106238192,"number":85,"title":"missing signature match on queue.push between 0.0.19 and 3.0.x","user":{"login":"MikeCaspar","id":1476230,"avatar_url":"https://avatars.githubusercontent.com/u/1476230?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeCaspar","html_url":"https://github.com/MikeCaspar","followers_url":"https://api.github.com/users/MikeCaspar/followers","following_url":"https://api.github.com/users/MikeCaspar/following{/other_user}","gists_url":"https://api.github.com/users/MikeCaspar/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeCaspar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeCaspar/subscriptions","organizations_url":"https://api.github.com/users/MikeCaspar/orgs","repos_url":"https://api.github.com/users/MikeCaspar/repos","events_url":"https://api.github.com/users/MikeCaspar/events{/privacy}","received_events_url":"https://api.github.com/users/MikeCaspar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-13T20:35:32Z","updated_at":"2015-09-13T21:34:33Z","closed_at":"2015-09-13T20:39:27Z","body":"queue.push ( str,  timeout, delay, expires)   does not have a match any more after switch from 0.0.19 to 3.0.x\r\n\r\nAfter careful review it appears the timeout parameter has been removed from method.\r\n\r\nThanks.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/iron-io/iron_mq_java/issues/comments/139919311","html_url":"https://github.com/iron-io/iron_mq_java/issues/85#issuecomment-139919311","issue_url":"https://api.github.com/repos/iron-io/iron_mq_java/issues/85","id":139919311,"user":{"login":"MikeCaspar","id":1476230,"avatar_url":"https://avatars.githubusercontent.com/u/1476230?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeCaspar","html_url":"https://github.com/MikeCaspar","followers_url":"https://api.github.com/users/MikeCaspar/followers","following_url":"https://api.github.com/users/MikeCaspar/following{/other_user}","gists_url":"https://api.github.com/users/MikeCaspar/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeCaspar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeCaspar/subscriptions","organizations_url":"https://api.github.com/users/MikeCaspar/orgs","repos_url":"https://api.github.com/users/MikeCaspar/repos","events_url":"https://api.github.com/users/MikeCaspar/events{/privacy}","received_events_url":"https://api.github.com/users/MikeCaspar/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T21:34:33Z","updated_at":"2015-09-13T21:34:33Z","body":"Hi there.\r\n\r\nI must be missing something here. I understand what you're saying and understand it.. No probs.. thanks for the explanation.. \r\n\r\nHowever, this is the current Code showing on github at this address...\r\n\r\nhttps://github.com/iron-io/iron_mq_java/blob/master/src/main/java/io/iron/ironmq/Queue.java\r\n\r\nCould it be that because they are all long's, it's not showing as an error (still compiles and maybe it works as you expect by fluke ?).\r\n\r\nThis is the code from v3..  I'll adjust as needed.. just doesn't match this code currently in Master.\r\n\r\nI'm happy to switch to the new approach but the code doesn't seem to support it (at least so it appears).\r\n\r\nSorry if I'm just a bit slow today, but the code in v3.0.3 currently in master is showing these 3 as signatures, not what you describe. ?  I'll go with whatever.. I just need to do know, do I do what you say or what the code says?\r\n\r\nHere's the code from github as it sits now.\r\n\r\nRespectfully waiting to find out how you suggest I proceed.  ps: Your answers are great, I'm just trying to make sure I re-factor correctly.\r\n\r\nHey, if I'm totally wrong here, I'll be happy to acknowledge that, my apologies.. I'm just looking at the code here... (I do't seem an expiresIn in this signature at all ) ???\r\n\r\nHere they are for your reference (taken from github on master).\r\n\r\n```\r\n    public String push(String msg) throws IOException {\r\n        return push(msg, 0);\r\n    }\r\n\r\n    /**\r\n     * Pushes a messages onto the queue.\r\n     *\r\n     * @param msg The array of the messages to push.\r\n     * @return The IDs of new messages\r\n     *\r\n     * @throws io.iron.ironmq.HTTPException If the IronMQ service returns a status other than 200 OK.\r\n     * @throws java.io.IOException If there is an error accessing the IronMQ server.\r\n     */\r\n    public Ids pushMessages(String[] msg) throws IOException {\r\n        return pushMessages(msg, 0);\r\n    }\r\n\r\n    /**\r\n    * Pushes a message onto the queue.\r\n    *\r\n    * @param msg The body of the message to push.\r\n    * @param timeout The message's timeout in seconds.\r\n    * @return The new message's ID\r\n    *\r\n    * @throws io.iron.ironmq.HTTPException If the IronMQ service returns a status other than 200 OK.\r\n    * @throws java.io.IOException If there is an error accessing the IronMQ server.\r\n    */\r\n    public String push(String msg, long timeout) throws IOException {\r\n        return push(msg, timeout, 0);\r\n    }\r\n\r\n    /**\r\n     * Pushes a messages onto the queue.\r\n     *\r\n     * @param msg The array of the messages to push.\r\n     * @param timeout The message's timeout in seconds.\r\n     * @return The IDs of new messages\r\n     *\r\n     * @throws io.iron.ironmq.HTTPException If the IronMQ service returns a status other than 200 OK.\r\n     * @throws java.io.IOException If there is an error accessing the IronMQ server.\r\n     */\r\n    public Ids pushMessages(String msg[], long timeout) throws IOException {\r\n        return pushMessages(msg, timeout, 0);\r\n    }\r\n\r\n    /**\r\n    * Pushes a message onto the queue.\r\n    *\r\n    * @param msg The body of the message to push.\r\n    * @param timeout The message's timeout in seconds.\r\n    * @param delay The message's delay in seconds.\r\n    * @return The new message's ID\r\n    *\r\n    * @throws io.iron.ironmq.HTTPException If the IronMQ service returns a status other than 200 OK.\r\n    * @throws java.io.IOException If there is an error accessing the IronMQ server.\r\n    */\r\n    public String push(String msg, long timeout, long delay) throws IOException {\r\n        return push(msg, timeout, delay, 0);\r\n    }\r\n```\r\n\r\nThanks !\r\n"}}