Subversion Repositories SmartDukaan

Rev

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

Rev 10262 Rev 10263
Line 182... Line 182...
182
			 GmailUtils mailer = new GmailUtils();
182
			 GmailUtils mailer = new GmailUtils();
183
			 String text = "Product : " +getProductName(this.item) +"\n"+ 
183
			 String text = "Product : " +getProductName(this.item) +"\n"+ 
184
			 "Item ID : " +this.item.getId() +"\n"+
184
			 "Item ID : " +this.item.getId() +"\n"+
185
			 "SUPC : " +this.supc +"\n"+
185
			 "SUPC : " +this.supc +"\n"+
186
			 "Updated Price : " +this.price;
186
			 "Updated Price : " +this.price;
-
 
187
			 try{
187
			 mailer.sendSSLMessage(sendTo, "Price updated on Snapdeal Item ID " + this.item.getId(),text, emailFromAddress , password,new ArrayList<File>());
188
			 mailer.sendSSLMessage(sendTo, "Price updated on Snapdeal Item ID " + this.item.getId(),text, emailFromAddress , password,new ArrayList<File>());
-
 
189
			 }
-
 
190
			 catch(Exception e){
-
 
191
				 logger.info("Exception"+e);
-
 
192
			 }
188
			 ArrayList<Long> updateList = new ArrayList<Long>();
193
			 ArrayList<Long> updateList = new ArrayList<Long>();
189
			 try {
194
			 try {
190
				 Client catalogClient = new CatalogClient("catalog_service_server_host_amazon","catalog_service_server_port").getClient();
195
				 Client catalogClient = new CatalogClient("catalog_service_server_host_amazon","catalog_service_server_port").getClient();
191
 
196
 
192
				 updateList.add(this.item.getId());
197
				 updateList.add(this.item.getId());