{
camqp_config_t *conf = user_data->data;
char routing_key[6 * DATA_MAX_NAME_LEN];
- char buffer[4096];
+ char buffer[8192];
int status;
if ((ds == NULL) || (vl == NULL) || (conf == NULL))
status = cf_util_get_string (child, &conf->exchange_type);
else if ((strcasecmp ("Queue", child->key) == 0) && !publish)
status = cf_util_get_string (child, &conf->queue);
- else if (strcasecmp ("QueueDurable", child->key) == 0)
+ else if ((strcasecmp ("QueueDurable", child->key) == 0) && !publish)
status = cf_util_get_boolean (child, &conf->queue_durable);
- else if (strcasecmp ("QueueAutoDelete", child->key) == 0)
+ else if ((strcasecmp ("QueueAutoDelete", child->key) == 0) && !publish)
status = cf_util_get_boolean (child, &conf->queue_auto_delete);
else if (strcasecmp ("RoutingKey", child->key) == 0)
status = cf_util_get_string (child, &conf->routing_key);