Submodule for store-and-forward queue