| | |
| | | public static String PUSH_MZ = "bpush-mz"; |
| | | |
| | | /** |
| | | * 极光推送队列 |
| | | */ |
| | | public static String PUSH_JPUSH = "bpush-jpush"; |
| | | |
| | | /** |
| | | * 无效设备队列 |
| | | */ |
| | | public static String PUSH_TOKEN_INVALID = "bpush-token-invalid"; |
| | |
| | | cmqUtil.createQueue(PUSH_OPPO); |
| | | cmqUtil.createQueue(PUSH_VIVO); |
| | | cmqUtil.createQueue(PUSH_MZ); |
| | | cmqUtil.createQueue(PUSH_JPUSH); |
| | | cmqUtil.createQueue(PUSH_TOKEN_INVALID); |
| | | logger.info("创建队列完毕"); |
| | | } |
| | |
| | | queueName = PUSH_VIVO; |
| | | } else if (platform == PushPlatform.mz) { |
| | | queueName = PUSH_MZ; |
| | | }else if (platform == PushPlatform.jpush) { |
| | | queueName = PUSH_JPUSH; |
| | | } |
| | | return queueName; |
| | | } |