Subversion Repositories SmartDukaan

Rev

Rev 22165 | Rev 22170 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22165 Rev 22169
Line 43... Line 43...
43
	private MongoClient contentMongoClient;
43
	private MongoClient contentMongoClient;
44
 
44
 
45
	public Mongo() {
45
	public Mongo() {
46
		try {
46
		try {
47
			mongoClient = new MongoClient(mongoHost, MONGO_PORT);
47
			mongoClient = new MongoClient(mongoHost, MONGO_PORT);
48
			contentMongoClient = new MongoClient(mongoHost, MONGO_PORT);
48
			contentMongoClient = new MongoClient(contentMongoHost, MONGO_PORT);
49
		} catch (Exception e) {
49
		} catch (Exception e) {
50
			e.printStackTrace();
50
			e.printStackTrace();
51
		}
51
		}
52
	}
52
	}
53
 
53